|
|
@ -313,6 +313,7 @@ $.fn.tab = function(parameters) { |
|
|
|
; |
|
|
|
tabPath = module.utilities.arrayToPath(pathArray); |
|
|
|
$.each(pathArray, function(index, tab) { |
|
|
|
console.log(tab, tabPath); |
|
|
|
var |
|
|
|
currentPathArray = pathArray.slice(0, index + 1), |
|
|
|
currentPath = module.utilities.arrayToPath(currentPathArray), |
|
|
@ -636,9 +637,6 @@ $.fn.tab = function(parameters) { |
|
|
|
if(pathName === undefined) { |
|
|
|
pathName = activeTabPath; |
|
|
|
} |
|
|
|
if(typeof pathName == 'string') { |
|
|
|
pathName = pathName.toLowerCase(); |
|
|
|
} |
|
|
|
return typeof pathName == 'string' |
|
|
|
? pathName.split('/') |
|
|
|
: [pathName] |
|
|
@ -870,7 +868,7 @@ $.fn.tab.settings = { |
|
|
|
error: { |
|
|
|
api : 'You attempted to load content without API module', |
|
|
|
method : 'The method you called is not defined', |
|
|
|
missingTab : 'Activated tab cannot be found for this context.', |
|
|
|
missingTab : 'Activated tab cannot be found. Tabs are case-sensitive.', |
|
|
|
noContent : 'The tab you specified is missing a content url.', |
|
|
|
path : 'History enabled, but no path was specified', |
|
|
|
recursion : 'Max recursive depth reached', |
|
|
|