apps/core/components/public/js/jquery/plugins/bsmselect/js/jquery.bsmselect.js in spiderfw-0.6.30 vs apps/core/components/public/js/jquery/plugins/bsmselect/js/jquery.bsmselect.js in spiderfw-0.6.31
- old
+ new
@@ -182,10 +182,10 @@
/**
* Select the first item of the new select
*/
selectFirstItem: function() {
setTimeout(function(){
- $('option:eq(0)', this.$select[multiple]).attr('selected', 'selected');
+ $('option:eq(0)', this.$select).attr('selected', 'selected');
}, 1000);
},
/**
* Make an option disabled, indicating that it's already been selected