Fixed IE11 Unable To Revert Changes To Style Properties

HotRodCarts

Well-known member
Affected version
xf 2.0
I just created a xf2 demo and really like what I see in the Admin CP. I made some changes to the style color palette and when I tried to revert the changes with IE11 it wouldn't work. I had to log in with Firefox and was able to revert all the changes.
 
Turns out that IE11 doesn't like our javascript code that disables the input box for a style property when you click the 'revert' checkbox, rendering the checkbox itself disabled, so it doesn't submit its value when the form gets submitted, and the property doesn't revert.

Fixed it now though.
 
Top Bottom