dpillot     2005/12/15 18:11:44 CET

  Modified files:
    src/view/jsp/include processing_inc.jsp 
  Log:
  fix hard-link
  
  Revision  Changes    Path
  1.5       +3 -2      
corporate_portal_templates/src/view/jsp/include/processing_inc.jsp
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/include/processing_inc.jsp.diff?r1=1.4&r2=1.5&f=h
  
  
  
  Index: processing_inc.jsp
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/src/view/jsp/include/processing_inc.jsp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- processing_inc.jsp        14 Dec 2005 13:46:00 -0000      1.4
  +++ processing_inc.jsp        15 Dec 2005 17:11:44 -0000      1.5
  @@ -6,7 +6,7 @@
       /**
        * include jsp file to display inside a top admin bar in mode edit<br>
        *
  -     * @version $Id: processing_inc.jsp,v 1.4 2005/12/14 13:46:00 dpillot 
Exp $
  +     * @version $Id: processing_inc.jsp,v 1.5 2005/12/15 17:11:44 dpillot 
Exp $
        */
       boolean isRoot = false;
   
  @@ -16,6 +16,7 @@
       String server = request.getServerName();
       int port = request.getServerPort();
       String context = request.getContextPath();
  +    String ajaxpath= "http://"+server+":"+port+context+"/ajaxaction/PDisp";;
       //if (isRoot || isAdmin) urlpdisp = 
"javascript:OpenJahiaWindow('http://"; + server + ":" + port + context + 
"/jsp/jahia/engines/importexport/processing.jsp','monitordisp',600,300)";
   
   %>
  @@ -34,7 +35,7 @@
       function monitor()
       {
           // the ajax updater object without a update container (see 
documentation)
  -        var url = 'http://localhost:8080/jahia/ajaxaction/PDisp';
  +        var url = '<%=ajaxpath%>';
           var myAjax = new Ajax.PeriodicalUpdater({}, url, {onSuccess: 
showResponse, onFailure:stopping, frequency: 30});
           myAjax.start();
       }
  

Reply via email to