blob: 84f785a8ab5585de383c3efc91ef7c8ee1b088f3 [file] [log] [blame]
Nils Diewald0e6992a2015-04-14 20:13:52 +00001define(['menu/prefix'], function (prefixClass) {
2 return {
3 create : function (params) {
4 return Object.create(prefixClass).upgradeTo(this)._init(params);
5 },
6 onclick : function () {
7 var m = this.menu();
8 var h = m.hint();
9 m.hide();
10
11 h.inputField().insert(this.value());
12 h.active = false;
13 }
14 };
15});