Update of /var/cvs/applications/editwizard/templates/javascript
In directory james.mmbase.org:/tmp/cvs-serv10102/javascript

Modified Files:
      Tag: MMBase-1_8
        newfromlist.jsp searchlist.js 
Log Message:
disabled linkabel: makes no sence when a wizard has this tag but the config/url 
for list.jsp does not support it, made unlinkable work correctly and linking 
and searching in list.jsp as one would aspect namely looking things up in the 
whole cloud, with relnodepath in a given nodepath, or when noting is given in 
the current list


See also: 
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/javascript


Index: newfromlist.jsp
===================================================================
RCS file: 
/var/cvs/applications/editwizard/templates/javascript/newfromlist.jsp,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -b -r1.1.2.6 -r1.1.2.7
--- newfromlist.jsp     19 Feb 2008 20:19:03 -0000      1.1.2.6
+++ newfromlist.jsp     21 Feb 2008 13:48:11 -0000      1.1.2.7
@@ -4,7 +4,7 @@
  * Routines for NewFromList
  * 
  * @since    MMBase-1.9
- * @version  $Id: newfromlist.jsp,v 1.1.2.6 2008/02/19 20:19:03 andre Exp $
+ * @version  $Id: newfromlist.jsp,v 1.1.2.7 2008/02/21 13:48:11 andre Exp $
  */
 
 function doMySearch(el) {
@@ -61,15 +61,17 @@
     var url="<%= 
response.encodeURL("list.jsp")%>?proceed=true&popupid=search&replace=true&referrer=<%=java.net.URLEncoder.encode(request.getParameter("referrer"),"UTF-8")%>&template=xsl/newfromlist.xsl&fields="+fields+"&pagelength=10&language=<%=request.getParameter("language")%>&country=<%=request.getParameter("country")%>&timezone=<%=request.getParameter("timezone")%>";
     if (relationNodepath.length != 0) {
         url += "&nodepath=" + relationNodepath + "&startnodes=" + 
relationStartnodes;
+        console.log("&nodepath=" + relationNodepath + "&startnodes=" + 
relationStartnodes);
     } else {
         url += "&nodepath=" + objectType;
+        console.log("&nodepath=" + objectType);
     }
     url += setParam("relationOriginNode", relationOriginNode);
     url += setParam("relationRole", relationRole);
     url += setParam("relationCreateDir", createDir);
     url += setParam("constraints", constraints);
     url += setParam("age", searchage+"");
-   
+    console.log("url: " + url);
     showPopup(url);
 }
 


Index: searchlist.js
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/javascript/searchlist.js,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -u -b -r1.2.2.3 -r1.2.2.4
--- searchlist.js       31 May 2007 16:29:50 -0000      1.2.2.3
+++ searchlist.js       21 Feb 2008 13:48:11 -0000      1.2.2.4
@@ -50,6 +50,7 @@
     selected = buildSelectedList();
     var url = 
"linklistitem.jsp?"+"relationOriginNode="+relationOriginNode+"&relationRole=" + 
     relationRole + "&relationCreateDir" + relationCreateDir + 
"&selected="+selected;
+    console.log("doAddSubmit: " + url);
     loadXMLDoc(url, false);
 
     window.opener.document.forms[0].submit();
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to