Permalink
Browse files

Revert changes of commit 05a3aa9 because we are going to use square c…

…heckbox for multiple select menu.
  • Loading branch information...
1 parent 8a074fc commit 75cdb5c7b529c2778444b1e8539ef5b978c50f23 @jaspermdegroot jaspermdegroot committed Jun 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/jquery.mobile.forms.select.custom.js
@@ -138,7 +138,7 @@ define( [
if ( self.isMultiple ) {
$( this ).find( ".ui-icon" )
.toggleClass( "ui-icon-checkbox-on", option.selected )
- .toggleClass( "ui-icon-radio-off", !option.selected );
+ .toggleClass( "ui-icon-checkbox-off", !option.selected );
}
// trigger change if value changed
@@ -298,7 +298,7 @@ define( [
// Multiple selects: add the "on" checkbox state to the icon
if ( self.isMultiple ) {
- item.find( ".ui-icon" ).removeClass( "ui-icon-radio-off" ).addClass( "ui-icon-checkbox-on" );
+ item.find( ".ui-icon" ).removeClass( "ui-icon-checkbox-off" ).addClass( "ui-icon-checkbox-on" );
} else {
if( item.is( ".ui-selectmenu-placeholder" ) ) {
item.next().addClass( $.mobile.activeBtnClass );
@@ -453,7 +453,7 @@ define( [
needPlaceholder = true,
optgroups = [],
lis = [],
- dataIcon = self.isMultiple ? "radio-off" : "false";
+ dataIcon = self.isMultiple ? "checkbox-off" : "false";
self.list.empty().filter( ".ui-listview" ).listview( "destroy" );

0 comments on commit 75cdb5c

Please sign in to comment.