[Pkg-mozext-commits] [wot] 132/226: Open Update Page after the add-on is installed

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:43 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 61ad54573ca14235c65932942e6d0f95f7df10b6
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date:   Mon Sep 2 13:26:17 2013 +0300

    Open Update Page after the add-on is installed
---
 content/config.js          | 2 +-
 content/ratingwindow.js    | 3 +++
 content/rw/ratingwindow.js | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/content/config.js b/content/config.js
index 0271eaf..9b9cffd 100644
--- a/content/config.js
+++ b/content/config.js
@@ -246,7 +246,7 @@ const WOT_SEARCH_TYPE_APP0		= 2;
 
 /* First run */
 const WOT_FIRSTRUN_WELCOME = 1;
-const WOT_FIRSTRUN_CURRENT = 2;
+const WOT_FIRSTRUN_CURRENT = 3;
 const WOT_UPDATE_PATH = "update/";
 
 
diff --git a/content/ratingwindow.js b/content/ratingwindow.js
index 2da3f5d..75330c5 100644
--- a/content/ratingwindow.js
+++ b/content/ratingwindow.js
@@ -412,6 +412,9 @@ var wot_rw = {
             rw_wot.grouping = wot_categories.grouping;
             rw_wot.cgroups = wot_categories.cgroups;
 
+            // init other values
+            rw_wot.firstrunupdate = WOT_FIRSTRUN_CURRENT;
+
             rw_wot.ratingwindow.onload();   // this runs only once in FF
 
             this.is_inited = true;
diff --git a/content/rw/ratingwindow.js b/content/rw/ratingwindow.js
index 532c5b0..8db2065 100644
--- a/content/rw/ratingwindow.js
+++ b/content/rw/ratingwindow.js
@@ -30,6 +30,7 @@ $.extend(wot, { ratingwindow: {
     is_registered: false,   // whether user has an account on mywot.com
     delete_action: false,   // remembers whether user is deleting rating
     prefs: {},  // shortcut for background preferences
+    UPDATE_ROUND: 3,        // = 3 version when we launched WOT 2.0 in September 2013
 
     get_bg: function () {
         // just a shortcut

-- 
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