Permalink
Browse files

Merge pull request #7463 from vingtetun/822477

Bug 822477 - [contacts] 'Import SIM Contacts' incorrectly disabled if SI...
  • Loading branch information...
2 parents 4a5c0d0 + 3997a87 commit c94217aaad7bc0283ee77e68559027a9da8e157f @vingtetun vingtetun committed Jan 9, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 apps/communications/contacts/js/contacts_settings.js
View
4 apps/communications/contacts/js/contacts_settings.js
@@ -100,7 +100,9 @@ contacts.Settings = (function() {
return;
}
- enableSIMImport(conn.cardState == 'ready');
+ // Card should either be "ready" (connected to network) or "null" (card in
+ // phone but cannot connect to network for some reason).
+ enableSIMImport(conn.cardState == 'ready' || conn.cardState == null);
};
// Disables/Enables the actions over the sim import functionality

0 comments on commit c94217a

Please sign in to comment.