xlawrence    2005/08/09 15:14:19 CEST

  Modified files:
    src/view/jsp         actions.js 
  Log:
  getActionMenu now uses a correct URL containing the pid and opMode to 
correctly initialize the ParamBean instance of the AJAXServlet
  
  Revision  Changes    Path
  1.5       +2 -3      corporate_portal_templates/src/view/jsp/actions.js
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/actions.js.diff?r1=1.4&r2=1.5&f=h
  
  
  
  Index: actions.js
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/src/view/jsp/actions.js,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- actions.js        5 Aug 2005 15:40:29 -0000       1.4
  +++ actions.js        9 Aug 2005 13:14:19 -0000       1.5
  @@ -503,9 +503,8 @@
                // correct values are "POST" or "GET" (HTTP methods).
                var method = "POST" ;
                var data = "key=" + objectKey + "&type=" + objectType + 
  -                             "&def=" + definitionID + "&parent=" + parentID 
+ 
  -                             "&page=" + pageID;
  -         var url = context + "/menu/";
  +                             "&def=" + definitionID + "&parent=" + parentID ;
  +         var url = context + "/menu/op/edit/pid/" + pageID ;
                
                if (method == "GET") {
                        url += "?" + data;
  

Reply via email to