Browse files

MINOR Avoid reinitialising tabs (see #7258)

  • Loading branch information...
1 parent fa900f7 commit 5260738148e27a316ad8b40f746e71e346148982 @chillu chillu committed Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/javascript/LeftAndMain.js
View
2 admin/javascript/LeftAndMain.js
@@ -803,7 +803,7 @@ jQuery.noConflict();
// Fix for wrong cookie storage of deselected tabs
if($.cookie && id && $.cookie(cookieId) == -1) $.cookie(cookieId, 0);
- this.tabs({
+ if(!this.data('tabs')) this.tabs({
cookie: ($.cookie && id) ? { expires: 30, path: '/', name: cookieId } : false,
ajaxOptions: {
// Overwrite ajax loading to use CMS logic instead

0 comments on commit 5260738

Please sign in to comment.