Permalink
Browse files

Bug 822477 - [contacts] 'Import SIM Contacts' incorrectly disabled if…

… SIM card disabled on mobile network
  • Loading branch information...
1 parent f81ffd6 commit 3997a871e22d2a9b75513698114865af79d9f646 @qdot qdot committed with vingtetun Jan 9, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 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 3997a87

Please sign in to comment.