View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms6/hippo-cms/branches/Branch-CMS-v6_05_xx/editor/src/site/workbench/transformers/top.xsl
(Generate patch)

Comparing hippo-cms6/hippo-cms/branches/Branch-CMS-v6_05_xx/editor/src/site/workbench/transformers/top.xsl (file contents):
Revision 36980 by bvdschans, Mon Nov 28 14:54:45 2011 UTC vs.
Revision 36981 by abogaart, Mon Nov 19 13:42:31 2012 UTC

108 </xsl:when> 108 </xsl:when>
109 </xsl:choose> 109 </xsl:choose>
110 110
111 //temporary workaround for 6.0.3.1 ONLY! 111 //temporary workaround for 6.0.3.1 ONLY!
112 var CMS_PREVIEW_URL = '<xsl:value-of select="$previewURL"/>'; 112 var CMS_PREVIEW_URL = '<xsl:value-of select="$previewURL"/>';
113
114 function removeLocks() {
115 window.top.window.frames['topframe'].fireCMSEvent('beforeUnloadCMS');
116 return true;
117 }
113 </script> 118 </script>
114 119
115 </head> 120 </head>
116 121
117 <!-- [DD] locking not supported now --> 122 <body onbeforeunload="return removeLocks();">
118 <!--body onbeforeunload="window.location.href='/login/removeLocks';"-->
119 <body>
120 <!-- start body--> 123 <!-- start body-->
121 <div id="container_main"> 124 <div id="container_main">
122 <!-- start top--> 125 <!-- start top-->
123 <div id="top"> 126 <div id="top">
124 <!-- start top left: logo & navigation--> 127 <!-- start top left: logo & navigation-->

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines