Pass type/value on typedInput.change event

This commit is contained in:
Nick O'Leary 2016-06-15 22:04:13 +01:00
parent b21745808b
commit 0d4d51fc39
1 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@
this.optionSelectLabel.text(value); this.optionSelectLabel.text(value);
} }
this.element.val(value); this.element.val(value);
this.element.trigger('change'); this.element.trigger('change',this.type(),value);
} }
}, },
type: function(type) { type: function(type) {
@ -369,7 +369,7 @@
} }
this.element.show(); this.element.show();
} }
this.element.trigger('change'); this.element.trigger('change',this.propertyType,this.value());
} }
if (image) { if (image) {
image.onload = function() { that._resize(); } image.onload = function() { that._resize(); }