• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

As designed Missing selected value of checkbox

imthebest

Well-known member
#1
On admin.php?xengallery/options at the "Blocks Options" tab I set the following and then save the changes:

bug.png

Okay, now I want to disable the "Show Gallery Statistics Block" so I untick it but leave ticked the "Gallery Sidebar" checkbox so when I need to re-enable the Statistics Block I just will need one click to tick the "Show Gallery Statistics Block" checkbox again.

However after saving the changes I lost the ticked status of the "Gallery Sidebar" checkbox.

Thanks,
Super120
 

Chris D

XenForo developer
Staff member
#2
That's how it's supposed to work.

When a checkbox is disabled, on the server side we don't actually get its value, whether it's checked or not, so it gets cleared.