Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv12651/templates
Modified Files:
List.js.jsp
Log Message:
See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates
Index: List.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/List.js.jsp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- List.js.jsp 24 Jul 2008 14:22:25 -0000 1.17
+++ List.js.jsp 31 Jul 2008 13:00:05 -0000 1.18
@@ -13,7 +13,7 @@
* The user does not need to push a commit button. All data is implicitely
committed (after a few second of inactivity, or before unload).
*
* @author Michiel Meeuwissen
- * @version $Id: List.js.jsp,v 1.17 2008/07/24 14:22:25 michiel Exp $
+ * @version $Id: List.js.jsp,v 1.18 2008/07/31 13:00:05 michiel Exp $
*/
@@ -37,9 +37,10 @@
this.callBack = null; // called on delete and create
- this.type = this.find(this.div, "form.list").find("input[name =
'type']")[0].value;
- this.item = this.find(this.div, "form.list").find("input[name =
'item']")[0].value;
- this.source = this.find(this.div, "form.list").find("input[name =
'source']")[0].value;
+ this.type = this.find(this.div, ".list").find("input[name =
'type']")[0].value;
+ this.item = this.find(this.div, ".list").find("input[name =
'item']")[0].value;
+ this.source = this.find(this.div, ".list").find("input[name =
'source']")[0].value;
+ this.icondir = this.find(this.div, ".list").find("input[name =
'icondir']")[0].value;
this.lastChange = null;
@@ -252,12 +253,12 @@
params.item = this.item;
params.seq = this.seq;
params.source = this.source;
+ params.icondir = this.icondir;
this.find(this.div, "input[checked], input[type='text'],
input[type='hidden'], input[type='password'], option[selected], textarea")
.each(function() {
params[this.name || this.id || this.parentNode.name ||
this.parentNode.id ] = this.value;
});
-
var self = this;
this.status("<img
src='${mm:link('/mmbase/style/ajax-loader.gif')}' />");
$.ajax({ type: "POST",
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs