Browse Source

UI-3048: Replace chosen plugin method with monster helper (#4)

4.3
Joris Tirado 8 years ago
committed by GitHub
parent
commit
7a5f66cff7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app.js

+ 3
- 1
app.js View File

@ -171,7 +171,9 @@ console.log(_.size(self.appFlags.faxboxes));
monster.ui.tooltips(template);
monster.ui.footable(template.find('.footable'));
$selectFaxbox.chosen({ search_contains: true, placeholder_text_single: self.i18n.active().fax.actionBar.selectFaxbox.none });
monster.ui.chosen($selectFaxbox, {
placeholder_text_single: self.i18n.active().fax.actionBar.selectFaxbox.none
});
$selectFaxbox.on('change', function() {
var faxboxId = $(this).val();


Loading…
Cancel
Save