Fix: adding a name to differentiate cookies (close and reopen browser)

This commit is contained in:
Regis Houssin 2010-11-04 07:13:17 +00:00
parent 134fb0e22c
commit cb61e196cc
2 changed files with 4 additions and 2 deletions

View File

@ -320,7 +320,8 @@ html, body {
<SCRIPT type=\"text/javascript\">
jQuery(document).ready(function () {
jQuery('#containerlayout').layout({
center__paneSelector: \"#ecm-layout-center\"
name: \"ecmlayout\"
, center__paneSelector: \"#ecm-layout-center\"
, north__paneSelector: \"#ecm-layout-north\"
, west__paneSelector: \"#ecm-layout-west\"
, resizable: true

View File

@ -954,6 +954,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
jQuery("body").layout( layoutSettings );
});
var layoutSettings = {
name: "mainlayout",
defaults: {
useStateCookie: true,
size: "auto",
@ -976,7 +977,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
//togglerLength_open: 0,
// effect defaults - overridden on some panes
//slideTrigger_open: "mouseover",
initClosed: true,
//initClosed: true,
fxName: "drop",
fxSpeed: "normal",
fxSettings: { easing: "" }