diff --git a/admin/javascript/LeftAndMain.js b/admin/javascript/LeftAndMain.js index 7d60c2de7..d20f2eb35 100644 --- a/admin/javascript/LeftAndMain.js +++ b/admin/javascript/LeftAndMain.js @@ -210,7 +210,7 @@ + '' ); - var cookieVal = (jQuery.cookie) ? JSON.parse(jQuery.cookie('ss-ui-dialog')) : false; + var cookieVal = (jQuery.cookie && jQuery.cookie('ss-ui-dialog')) ? JSON.parse(jQuery.cookie('ss-ui-dialog')) : false; $("#ss-ui-dialog").dialog(jQuery.extend({ autoOpen: false, bgiframe: true,