Sha256: 95b2bd1c7568e1858661ec8f87eb41b435ac9594aacf63eb29b6c8f4330d0220
Contents?: true
Size: 719 Bytes
Versions: 20
Compression:
Stored size: 719 Bytes
Contents
Spider.defineWidget('Spider.Forms.Select', 'Spider.Forms.Input', { autoInit: true, ready: function(){ if (this.el.is('select[multiple]')){ this.el.attr('title', 'Aggiungi...'); this.el.bsmSelect({ removeLabel: 'togli', highlightAddedLabel: 'Aggiunto: ', highlightRemovedLabel: 'Tolto: ', addItemTarget: 'bottom' }); $('.bsmSelect option:first', this.el.parent()).addClass('bsmSelectTitle') .attr("selected", false) .attr("disabled", true); } }, onConnectedChange: function(connected, val){ var params = {}; params[connected] = val; this.reload({connected: params}); } });
Version data entries
20 entries across 20 versions & 1 rubygems