blob: 75866179698c1c6ab3a0c1f56d9a69fa144e37b8 [file] [log] [blame]
define(['menu/prefix'], function (prefixClass) {
return {
/**
* Create prefix object for the hint helper menu.
*/
create : function (params) {
return Object.create(prefixClass).
upgradeTo(this)._init(params);
},
/**
* Override the prefix action.
*/
onclick : function () {
var m = this.menu();
var h = m.hint();
m.hide();
h.inputField().insert(this.value());
h.active = false;
}
};
});