Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 969525 - Wrong message displayed when exporting contacts with USBStorage enabled #17382

Closed

Conversation

fcampo
Copy link
Contributor

@fcampo fcampo commented Mar 20, 2014

  • Rewrite updateStorage function for better readability
  • Improve setting check to update always
  • Fix l10n call
  • Test added

var generalSettings = navigator.mozSettings;
if (generalSettings) {
// Need to fill the value if opening for the first time
if (typeof(umsSettingsValue) === 'undefined') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: parenthesis not needed

Fixed:
- Rewrite updateStorage function for better readability
- Improve setting check to update always
- Fix l10n call
- Test added
@fcampo fcampo closed this Apr 23, 2014
@fcampo fcampo deleted the contacts-export-sd-usb-969525 branch April 23, 2014 12:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants