mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
commit
79f3d02186
@ -7,6 +7,17 @@
|
||||
|
||||
$.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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user