Author: xlawrence
Date: Tue Jun 19 11:12:20 2007
New Revision: 1210
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D1210&repname=
=3Dcorporate_portal_templates
Log:
also pass the language in the AJAX call
Modified:
branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/actions.js
Modified: branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/actions.js
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/view/jsp/actions.js&rev=3D1210&repname=3Dcorporate_portal_templ=
ates
=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/src/view/jsp/actions.js (original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/actions.js Tue Jun 19 11:12:2=
0 2007
@@ -498,14 +498,14 @@
}
=
// AJAX based function to get all Actions to fill up the Action menu
-function getActionMenu(context, objectType, objectKey, definitionID, paren=
tID, pageID, domID) {
+function getActionMenu(context, objectType, objectKey, definitionID, paren=
tID, pageID, domID, lang) {
document.body.style.cursor =3D "wait";
try {
// correct values are "POST" or "GET" (HTTP methods).
var method =3D "POST" ;
var data =3D "key=3D" + objectKey + "&type=3D" + objectType +
"&def=3D" + definitionID + "&parent=3D" + parentID + "&=
domid=3D" + domID +
- "¶ms=3D/op/edit/pid/" + pageID;
+ "¶ms=3D/op/edit/lang/" + lang + "/pid/" + pageID;
=
var url =3D context + "/ajaxaction/GetMenuItems";
=
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list