Author: xlawrence
Date: Tue Jun 19 11:12:59 2007
New Revision: 717

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D717&repname=
=3Dcorporate_portal_templates_v2
Log:
also pass the language in the AJAX call

Modified:
    branches/JAHIA-5-0-SP-BRANCH/src/jsp/javascript/actions.js

Modified: branches/JAHIA-5-0-SP-BRANCH/src/jsp/javascript/actions.js
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/jsp/javascript/actions.js&rev=3D717&repname=3Dcorporate_portal_=
templates_v2
=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/jsp/javascript/actions.js (original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/jsp/javascript/actions.js Tue Jun 19 1=
1:12:59 2007
@@ -497,14 +497,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 +
-                   "&params=3D/op/edit/pid/" + pageID;
+                   "&params=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

Reply via email to