Skip to content

Commit

Permalink
readd render to refresh. update method snapappointments#321
Browse files Browse the repository at this point in the history
  • Loading branch information
silviomoreto committed Sep 26, 2013
1 parent e9904a4 commit 932074d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
//If we dont have a title, then use the default, or if nothing is set at all, use the not selected text
if (!title) {
title = this.options.title != undefined ? this.options.title : this.options.noneSelectedText;
}
}re

this.$newElement.find('.filter-option').html(title);
},
Expand Down Expand Up @@ -396,6 +396,15 @@
},

refresh: function() {
this.reloadLi();
this.render();
this.setWidth();
this.setStyle();
this.checkDisabled();
this.liHeight();
},

update: function() {
this.reloadLi();
this.setWidth();
this.setStyle();
Expand Down

0 comments on commit 932074d

Please sign in to comment.