1. 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

Discussion in 'Media Gallery Resolved Bugs' started by imthebest, Apr 14, 2015.

  1. imthebest

    imthebest Formerly Super120

    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
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
     

Share This Page