Javascript Cookie not remembering
Forum » Bug Reports » Bug Reports
Open Bug
admin 8th May 2015

Joined: 21st Apr 2014
Rank: --
Posts: 151
Likes 380

So the admin bar toggle javascript is not remembering if the panel was closed or open, is the cookie not being set?
<script type="text/javascript">
function adminbartoggle() {
if(getcookie('adminbarhide') == 1) {
$('.adminbar_mini').slideUp(200, function () {
setcookie('adminbarhide', 0, 30);
} else {
$('.adminbar').slideUp(200, function () {
setcookie('adminbarhide', 1, 30);

I've also re-used this to toggle/show/hide the site banner element so would be nice if the browser would remember if it was toggled open or closed

Last Edit: 8th May 2015 by admin
Evie 9th May 2015

Joined: 7th Aug 2014
Rank: --
Posts: 665
Likes 73

Thank you for your feedback.

Let me escalate this to our senior developer so he can check on this closely.

Thank you for your patience.
Forum » Bug Reports » Bug Reports
Please login or register to reply.
Welcome to the support forums!

Welcome to the community forums!

If you're a premium customer and need urgent support or need to share personal details, please open a ticket from inside your Admin Panel.

Otherwise, please register to post in these forums.

Thank you!