Skip to content

Commit

Permalink
trigger original element shcnage event after hidden one
Browse files Browse the repository at this point in the history
  • Loading branch information
osbornm committed Oct 14, 2013
1 parent 6779ede commit d089ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-combobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
, select: function () {
var val = this.$menu.find('.active').attr('data-value');
this.$element.val(this.updater(val)).trigger('change');
this.$source.val(this.map[val]).trigger('change');
this.$target.val(this.map[val]).trigger('change');
this.$source.val(this.map[val]).trigger('change');
this.$container.addClass('combobox-selected');
this.selected = true;
return this.hide();
Expand Down

0 comments on commit d089ad9

Please sign in to comment.