getTabValueの返り値を文字列型に固定
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3812 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
2531128456
commit
9e63ba4ecb
@ -877,7 +877,7 @@ var TreeStyleTabService = {
|
||||
|
||||
getTabValue : function(aTab, aKey)
|
||||
{
|
||||
var value = null;
|
||||
var value = '';
|
||||
try {
|
||||
value = this.SessionStore.getTabValue(aTab, aKey);
|
||||
}
|
||||
|
@ -1640,7 +1640,7 @@ TreeStyleTabBrowser.prototype = {
|
||||
nextTab = this.redirectId(nextTab);
|
||||
}
|
||||
|
||||
var ancestors = (this.getTabValue(tab, this.kANCESTOR) || this.getTabValue(tab, this.kPARENT) || '').split('|');
|
||||
var ancestors = (this.getTabValue(tab, this.kANCESTOR) || this.getTabValue(tab, this.kPARENT)).split('|');
|
||||
var parent = null;
|
||||
for (var i in ancestors)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user