michael / multiselect

jQuery UI Multiselect Widget
http://www.quasipartikel.at/multiselect
MIT License
557 stars 208 forks source link

TypeError: Object function ( selector, context ) #147

Open PaykomanVll opened 11 years ago

PaykomanVll commented 11 years ago

Hello michael,

at first i will say, thanks for this Script! But this run not on my script with a current Jquery Version =(

I get the Error:

Uncaught TypeError: Object function ( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'tmpl'

106

this.selectedActions = $('

'+$.tmpl($.ui.switchselect.locale.itemsCount,{count:0})+''+$.tmpl($.ui.switchselect.locale.removeAll)+'
').appendTo(this.selectedContainer);

107

this.availableActions = $('

'+$.tmpl($.ui.switchselect.locale.busy)+''+$.tmpl($.ui.switchselect.locale.addAll)+'
').appendTo(this.availableContainer);

And when i replay it with original lines get more and more errors =( I Hope you can fix it and help me then i would includ your menu to my Framework on this i work.

Best regards Stefan