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

Modified Files:
        recyclebin.js 
Log Message:
CMSC-681 Asset Maintenance code refacted


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


Index: recyclebin.js
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/recyclebin/recyclebin.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- recyclebin.js       11 Dec 2008 09:19:55 -0000      1.7
+++ recyclebin.js       30 Dec 2008 08:51:12 -0000      1.8
@@ -1,5 +1,5 @@
    function restore(objectnumber, offset, type, url) {
-       if(type=="Attachment"||type=="Image"||type=="Url"){
+       if(type=="Attachment"||type=="Image"||type=="URL"){
           url = "RestoreAssetAction.do";
        }
        else{
@@ -13,7 +13,7 @@
     
    function info(objectNumber, type) {
       var url;
-          if(type=="Attachment"||type=="Image"||type=="Url"){  
+          if(type=="Attachment"||type=="Image"||type=="URL"){  
                   url = '../resources/';
                   url += type.toLowerCase();
                   url += 'info.jsp?objectnumber=';
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to