Author: bpapez
Date: Tue Sep 25 17:28:50 2007
New Revision: 18647
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18647&repname=
=3Djahia
Log:
http://www.jahia.net/jira/browse/JAHIA-2247: Captured values disappear
- A Javascript error for color fields caused that the request has been rese=
nt (as GET) to the server and then the objects in session were initialized.=
Fixed the Javascript error (DynAPI) and now it works. Why the request is b=
eing sent on the Javascript errors is still a mystery.
Modified:
branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/shared/s=
malltext_field.jsp
Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/sh=
ared/smalltext_field.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/webapp/jsp/jahia/engines/shared/smalltext_field.jsp&rev=3D=
18647&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/shared/s=
malltext_field.jsp (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/shared/s=
malltext_field.jsp Tue Sep 25 17:28:50 2007
@@ -117,14 +117,14 @@
function addDynLayer_<%=3DcontextID%>() {
y =3D getPageOffsetTop(document.imgcolmap_<%=3DcontextID%>);
if (document.layers) {
- ViewColorBG_<%=3DcontextID%> =3D new DynLayer(null, 474, y, 67=
, 67, '#000000');
- ViewColorPick_<%=3DcontextID%> =3D new DynLayer(null, 475, y +=
1, 65, 65, '#000000');
+ ViewColorBG_<%=3DcontextID%> =3D new DynLayer(null, 569, y, 67=
, 67, '#000000');
+ ViewColorPick_<%=3DcontextID%> =3D new DynLayer(null, 570, y +=
1, 65, 65, '#000000');
} else if (parseInt(navigator.appVersion) =3D=3D 5) {
- ViewColorBG_<%=3DcontextID%> =3D new DynLayer(null, 469, y, 67=
, 67, '#000000');
- ViewColorPick_<%=3DcontextID%> =3D new DynLayer(null, 470, y +=
1, 65, 65, '#000000');
+ ViewColorBG_<%=3DcontextID%> =3D new DynLayer(null, 564, y, 67=
, 67, '#000000');
+ ViewColorPick_<%=3DcontextID%> =3D new DynLayer(null, 565, y +=
1, 65, 65, '#000000');
} else {
- ViewColorBG_<%=3DcontextID%> =3D new DynLayer(null, 469, y, 67=
, 67, '#000000');
- ViewColorPick_<%=3DcontextID%> =3D new DynLayer(null, 470, y +=
1, 65, 65, '#000000');
+ ViewColorBG_<%=3DcontextID%> =3D new DynLayer(null, 564, y, 67=
, 67, '#000000');
+ ViewColorPick_<%=3DcontextID%> =3D new DynLayer(null, 565, y +=
1, 65, 65, '#000000');
}
=
DynAPI.document.addChild(ViewColorBG_<%=3DcontextID%>);
@@ -174,7 +174,7 @@
}
}
%>
- </map><img alt=3D"imgcolmap_<%=3DcontextID%>" usemap=3D"#colma=
p_<%=3DcontextID%>"
+ </map><img id=3D"imgcolmap_<%=3DcontextID%>" usemap=3D"#colmap=
_<%=3DcontextID%>"
src=3D"<jahia:serverHttpPath/><jahia:engineResource=
Bundle resourceName=3D"org.jahia.engines.jahiaTools.colorTable.image"/>"
border=3D"0" width=3D"289" height=3D"67"><img alt=
=3D""
src=3D"<jah=
ia:serverHttpPath/><jahia:engineResourceBundle resourceName=3D"org.jahia.pi=
x.image"/>"
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list