Browse Source

Reverse tab case sensitivity #2455

flex-list
jlukic 10 years ago
parent
commit
4b14d4501f
2 changed files with 2 additions and 5 deletions
  1. 1
      RELEASE-NOTES.md
  2. 6
      src/definitions/modules/tab.js

1
RELEASE-NOTES.md

@ -263,7 +263,6 @@
- **Sticky** - Fix issues when `pushing: true` with sticky content having incorrect bottom spacing, when container has bottom padding
- **Sticky** - Fixed issue with sticky content animating width on display in some cases.
- **Tab** - multiple tab groups initialized together with `context: 'parent'` will now each use their own parent
- **Tab** - Tab name is no longer case sensitive
- **Tab** - Tabs now use the standard component design pattern internally
- **Table** - Fixes `sorted` column are not correctly centered with `center aligned` due to margin on sort icon
- **Table** - Fixes `ascending` and `descending` icons were reversed in table

6
src/definitions/modules/tab.js

@ -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',

Loading…
Cancel
Save