[Pkg-mozext-commits] [tabmixplus] 30/47: ReferenceError: reference to undefined property tabdata.extData in tabView.js
David Prévot
taffit at moszumanska.debian.org
Fri Sep 26 20:57:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository tabmixplus.
commit 69c710bf619bdf62df176913d5cf8b971a863378
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Sep 21 10:18:16 2014 +0300
ReferenceError: reference to undefined property tabdata.extData in tabView.js
---
chrome/content/minit/tabView.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/chrome/content/minit/tabView.js b/chrome/content/minit/tabView.js
index d289882..7d5c12d 100644
--- a/chrome/content/minit/tabView.js
+++ b/chrome/content/minit/tabView.js
@@ -319,9 +319,12 @@
}
}
- if (tabviewData)
+ if (tabviewData) {
+ if (!tabdata.extData)
+ tabdata.extData = {};
tabdata.extData["tabview-tab"] = tabviewData;
- else
+ }
+ else if (tabdata.extData)
delete tabdata.extData["tabview-tab"];
}
--
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