3434 Posts in 1026 Topics by 866 members
|Go to End|
10 June 2013 at 8:41am
For a module (in de Back-End), I have changed the checkbox to a switch, this works but when I click a menu item in the left and click the add new item button, the checkbox is shown as checkbox but when I reload the page, the checkbox becomes a switch button.
Here is the code I use (at the moment I have past it into the LeftandMain.ss of the admin/template:
Why does the checkbox change to the switchbutton when the page loads, but when reloading the page it does. I also used (window).load(function) instead of the document.ready function.
Please any help.
|Go to Top|