Merge pull request #53 from candidasa/master

BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS
This commit is contained in:
Will Rossiter 2011-09-01 16:15:13 -07:00
commit 79f3d02186

View File

@ -6,7 +6,18 @@
$.metadata.setType('html5');
$.entwine('ss', 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,
* filling out sections of the form that the user does not want to be filled out,
* so this turns it off for all browsers.
* See the following page for demo and explanation of the Firefox bug:
* http://www.ryancramer.com/journal/entries/radio_buttons_firefox/
*/
$("#Form_EditForm").attr("autocomplete", "off");
/**
* Position the loading spinner animation below the ss logo
*/