Skip to content

Commit

Permalink
MINOR Avoid reinitialising tabs (see #7258)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jun 14, 2012
1 parent fa900f7 commit 5260738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/javascript/LeftAndMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5260738

Please sign in to comment.