Created
February 4, 2015 11:48
-
-
Save chesster/4be69e1c518e1b5d87db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
AjaxBootstrapSelectList.prototype.setTitle = function (title) { | |
if (!this.plugin.request) { | |
this.title = this.plugin.$element.attr('title'); | |
if($.isEmptyObject(this.plugin.selectpicker.$lis)) { | |
this.plugin.selectpicker.options.selectedTextFormat = 'static'; | |
} | |
this.plugin.$element.attr('title', title); | |
} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment