apps/core/components/public/js/jquery/plugins/bsmselect/js/jquery.bsmselect.js in spiderfw-0.6.32 vs apps/core/components/public/js/jquery/plugins/bsmselect/js/jquery.bsmselect.js in spiderfw-0.6.33
- old
+ new
@@ -181,12 +181,17 @@
/**
* Select the first item of the new select
*/
selectFirstItem: function() {
- setTimeout(function(){
- $('option:eq(0)', this.$select).attr('selected', 'selected');
- }, 1000);
+ $('option:eq(0)', this.$select).attr('selected', 'selected');
+ /* tolto la modifica del commit e3a8027037d4d02601d910f40794f103968088c2
+ per mettere selected su select dei permessi, rendeva lo stato bianco in modifica utente da admin */
+ /*
+ setTimeout(function(){
+ $('option:eq(0)', this.$select).attr('selected', 'selected');
+ }, 1000);
+ */
},
/**
* Make an option disabled, indicating that it's already been selected
* because safari is the only browser that makes disabled items look 'disabled'