return true;
});
- this.element.on('change', '.bunchmultiple', function () {
+ $(this.element).on('change', '.bunchmultiple .hiddenfield', function () {
+ console.log('change from above');
$this.update();
return true;
});
setTimeout(function () {
$this.updateAndChange();
}, 250);
- $this.updateAndChange();
+ this.updateAndChange();
},
updateAndChange: function () {
+ console.log('updateAndChange',this);
this.update();
- $(this).trigger('change');
+ $(this).find('.hiddenfield').trigger('change');
},
initItem: function (values) {
- console.log('initItem', values);
var $this = this;
var collapsed = true;
var isNew = false;