Skip to content
This repository
Browse code

MINOR Avoid reinitialising tabs (see #7258)

  • Loading branch information...
commit 5260738148e27a316ad8b40f746e71e346148982 1 parent fa900f7
Ingo Schommer authored June 14, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  admin/javascript/LeftAndMain.js
2  admin/javascript/LeftAndMain.js
@@ -803,7 +803,7 @@ jQuery.noConflict();
803 803
 
804 804
 				// Fix for wrong cookie storage of deselected tabs
805 805
 				if($.cookie && id && $.cookie(cookieId) == -1) $.cookie(cookieId, 0);
806  
-				this.tabs({
  806
+				if(!this.data('tabs')) this.tabs({
807 807
 					cookie: ($.cookie && id) ? { expires: 30, path: '/', name: cookieId } : false,
808 808
 					ajaxOptions: {
809 809
 						// Overwrite ajax loading to use CMS logic instead

0 notes on commit 5260738

Please sign in to comment.
Something went wrong with that request. Please try again.