Update of
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository
In directory james.mmbase.org:/tmp/cvs-serv31651
Modified Files:
content.js content.jsp
Log Message:
CMSC-412, mass move, delete of content elements
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository
See also: http://www.mmbase.org/jira/browse/CMSC-412
Index: content.js
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository/content.js,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- content.js 23 Jun 2008 10:18:22 -0000 1.8
+++ content.js 24 Jun 2008 02:39:00 -0000 1.9
@@ -117,3 +117,12 @@
document.forms[0].submit();
}
}
+
+function selectAll(value, formName, elementPrefix) {
+ var elements = document.forms[formName].elements;
+ for (var i = 0; i < elements.length; i++) {
+ if (elements[i].name.indexOf(elementPrefix) == 0) {
+ elements[i].checked = value;
+ }
+ }
+}
\ No newline at end of file
Index: content.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/repository/content.jsp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- content.jsp 23 Jun 2008 10:18:22 -0000 1.27
+++ content.jsp 24 Jun 2008 02:39:00 -0000 1.28
@@ -7,7 +7,6 @@
<html:html xhtml="true">
<cmscedit:head title="content.title">
<script src="content.js" type="text/javascript"></script>
- <script src="search.js" type="text/javascript"></script>
</cmscedit:head>
<body>
<script type="text/javascript">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs