Update of 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
In directory 
james.mmbase.org:/tmp/cvs-serv13828/cmsc/contentrepository/src/webapp/editors/resources

Modified Files:
        imagesearch.jsp 
Log Message:
CMSC-1126 using Assets in content


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
See also: http://www.mmbase.org/jira/browse/CMSC-1126


Index: imagesearch.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources/imagesearch.jsp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- imagesearch.jsp     4 Dec 2008 07:16:30 -0000       1.32
+++ imagesearch.jsp     4 Dec 2008 08:02:47 -0000       1.33
@@ -24,7 +24,10 @@
 
    function doSelectIt() {
       var href = document.getElementById('imgList').getAttribute('href')+"";
-      if (href.length<10) return;
+      if (href.length<10) {
+          alert("You must select one image");
+          return;
+      }
       if (href.indexOf('javascript:') == 0) {
        eval(href.substring('javascript:'.length, href.length));
        return false;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to