From 0d4d51fc391ba7d275f2ffd1babea35aeb58cead Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 15 Jun 2016 22:04:13 +0100 Subject: [PATCH] Pass type/value on typedInput.change event --- editor/js/ui/typedInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/ui/typedInput.js b/editor/js/ui/typedInput.js index 710c8cdae..36be34b3d 100644 --- a/editor/js/ui/typedInput.js +++ b/editor/js/ui/typedInput.js @@ -313,7 +313,7 @@ this.optionSelectLabel.text(value); } this.element.val(value); - this.element.trigger('change'); + this.element.trigger('change',this.type(),value); } }, type: function(type) { @@ -369,7 +369,7 @@ } this.element.show(); } - this.element.trigger('change'); + this.element.trigger('change',this.propertyType,this.value()); } if (image) { image.onload = function() { that._resize(); }