',select' + this.bmidselector +
',textarea' + this.bmidselector +
',.dropzone' + this.bmidselector, function () {
- $this.update();
+ $this.updateAndChange();
return true;
});
- $(this.element).on('change', '.bunchmultiple .hiddenfield', function () {
- console.log('change from above');
+ $(this.element).on('change', '.bunchmultiple', function () {
$this.update();
return true;
});
},
updateAndChange: function () {
- console.log('updateAndChange',this);
this.update();
- $(this).find('.hiddenfield').trigger('change');
+ $(this.element).trigger('change');
},
initItem: function (values) {