[Pkg-mozext-commits] [wot] 17/226: Don't update the UI before settings are loaded

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository wot.

commit ff5b04795bf6236a93f5f405878cf1ce2b232b1e
Author: Sami Tolvanen <sami at mywot.com>
Date:   Fri Mar 2 07:16:28 2012 +0200

    Don't update the UI before settings are loaded
---
 content/config.js | 2 +-
 content/ui.js     | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/content/config.js b/content/config.js
index dd1e7e1..03bf17c 100644
--- a/content/config.js
+++ b/content/config.js
@@ -19,7 +19,7 @@
 */
 
 const WOT_PLATFORM = "firefox";
-const WOT_VERSION  = "20120229";
+const WOT_VERSION  = "20120302";
 
 /*
  * Constants
diff --git a/content/ui.js b/content/ui.js
index 8301420..1ac6600 100644
--- a/content/ui.js
+++ b/content/ui.js
@@ -42,7 +42,9 @@ var wot_status =
 			}
 
 			/* Update display */
-			wot_ui.update(description);
+			if (wot_prefs.updateui) {
+				wot_ui.update(description);
+			}
 		} catch (e) {
 			dump("wot_status.set: failed with " + e + "\n");
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git



More information about the Pkg-mozext-commits mailing list