getTabValueの返り値を文字列型に固定

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3812 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-03-16 13:43:06 +00:00
parent 2531128456
commit 9e63ba4ecb
2 changed files with 2 additions and 2 deletions

View File

@ -877,7 +877,7 @@ var TreeStyleTabService = {
getTabValue : function(aTab, aKey)
{
var value = null;
var value = '';
try {
value = this.SessionStore.getTabValue(aTab, aKey);
}

View File

@ -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)
{