[Pkg-mozext-commits] [tabmixplus] 14/23: TypeError: GroupItems.groupItem(data.id) is null

David Prévot taffit at moszumanska.debian.org
Wed Feb 17 18:34:00 UTC 2016


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 7a4b89603e6597606a19994bfc01c51275c7005a
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Feb 14 22:58:54 2016 +0200

    TypeError: GroupItems.groupItem(data.id) is null
---
 chrome/content/minit/tabView.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/minit/tabView.js b/chrome/content/minit/tabView.js
index fda0ce6..4729474 100644
--- a/chrome/content/minit/tabView.js
+++ b/chrome/content/minit/tabView.js
@@ -579,8 +579,9 @@
     for (let key of Object.keys(this._groupItems)) {
       let data = this._groupItems[key];
       if (data.newItem) {
-        if (GroupItems.groupItemStorageSanity(data)) {
-          GroupItems.groupItem(data.id).pushAway(true);
+        let group = GroupItems.groupItem(data.id);
+        if (group && GroupItems.groupItemStorageSanity(data)) {
+          group.pushAway(true);
         }
       }
     }

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