added name function mapping for NumberControllerBox

This commit is contained in:
Hayko Koryun 2015-03-24 15:06:26 +04:00
parent a65c4f9b38
commit d3121a6676

View File

@ -927,7 +927,7 @@ define([
var box = new NumberControllerBox(controller.object, controller.property,
{ min: controller.__min, max: controller.__max, step: controller.__step });
common.each(['updateDisplay', 'onChange', 'onFinishChange'], function(method) {
common.each(['updateDisplay', 'onChange', 'onFinishChange', 'name'], function(method) {
var pc = controller[method];
var pb = box[method];
controller[method] = box[method] = function() {