Guest teknia Posted October 11, 2012 Share Posted October 11, 2012 I may want to re-enable this feature later but it's troublesome for me during store setup. Thanks for any suggestions! Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 11, 2012 Share Posted October 11, 2012 If you are familiar with editing code, please open the file /js/admin.js and find at around line 255, this: $('#sidebar_control').mouseover(function(){ Change it to: $('#sidebar_control').click(function(){ This change will require you to click the chevron to open it, and also to close it. Quote Link to comment Share on other sites More sharing options...
Guest teknia Posted October 11, 2012 Share Posted October 11, 2012 Thanks! I'll give it a shot Quote Link to comment Share on other sites More sharing options...
mitchellds Posted October 11, 2012 Share Posted October 11, 2012 Thanks, bsmither! I made this change as well. The mouseover capability was driving me nuts...the click functionality works much better. Quote Link to comment Share on other sites More sharing options...
Guest teknia Posted October 11, 2012 Share Posted October 11, 2012 hmmm, easy enough to replace "mouseover" with "click" still flies open. What could I be doing wrong? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 11, 2012 Share Posted October 11, 2012 It worked for me. Did you clear the cache, both within Admin and from your browser? I also logged out of Admin and back in. Thank you for the sig. It would be more helpful to know what version of v5 you are on, is it a clean install or an upgrade - from what, etc. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2012 Share Posted October 11, 2012 A week or so ago, I added this as an optional tweak in the JS file. It'll be in 5.1.15 and can be changed easily in the file. :w00t: Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 11, 2012 Share Posted October 11, 2012 Because javascript files are resources to be called after the page loads, like images, the browser has a tendency to cache such things. If you ever find that an updated image isn't coming in, or an updated javascript file isn't getting called, then call it in the browser directly. http://www.store.com/js/admin.js It will display as text, but in almost all cases, once the browser has that new file, it will replace the one in the cache. And if that doesn't work, then: To force a reload of a web page and bypass fetching from the cache with Firefox:Press and hold Shift and left-click the Reload button (circular arrow).Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)Press "Cmd + Shift + R" (MAC) Quote Link to comment Share on other sites More sharing options...
Guest teknia Posted October 12, 2012 Share Posted October 12, 2012 It was the cache... great explanation! Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.