Browse files

BUGFIX: fixing random changing of access tab radio buttons when refre…

…shing the CMS with a URL such as /admin#Root_Access in Firefox.
  • Loading branch information...
Julian Seidenberg
Julian Seidenberg committed Aug 30, 2011
1 parent a2464a5 commit af0bf453b24356b7f5bea251ce1f467f2f961427
Showing with 7 additions and 0 deletions.
  1. +7 −0 javascript/LeftAndMain.js
@@ -7,6 +7,13 @@ if(typeof(jQuery) != 'undefined') {
$(document).ready(function() {
+ //Turn off autocomplete to fix the access tab randomly switching radio buttons in Firefox when refresh the page
+ // with an anchor tag in the URL. E.g: /admin#Root_Access
+ //Autocomplete in the CMS also causes strangeness in other browsers, so this turns it off for all browsers.
+ //see the following for demo and explanation of the Firefox bug:
+ //
+ $("#Form_EditForm").attr("autocomplete", "off");

0 comments on commit af0bf45

Please sign in to comment.