[Pkg-mozext-commits] [tabmixplus] 97/123: Changeset 62283f8e2a6a prevents us from sending any notification when first call to _sendRestoreCompletedNotifications is with waitForCallBack true and there is no callback

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:31 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 6ad3a9858b9341381535f2e76d7de1ab24215c47
Author: onemen <tabmix.onemen at gmail.com>
Date:   Fri Sep 12 06:49:18 2014 +0300

    Changeset 62283f8e2a6a prevents us from sending any notification when first call to _sendRestoreCompletedNotifications is with waitForCallBack true and there is no callback
---
 chrome/content/session/session.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index 231f174..32959b1 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -2382,7 +2382,6 @@ try{
       // function finished, if there are pending call back from one of our
       // dialog 2nd notification will be send once the call back function finished.
       if (this.notifyObservers) {
-        this.notifyObservers = false;
         if (!waitForCallBack)
           Services.obs.notifyObservers(null, "sessionstore-windows-restored", "");
         else if (this.waitForCallBack == waitForCallBack) {

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



More information about the Pkg-mozext-commits mailing list