Update of 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/java/com/finalist/cmsc/repository/forms
In directory 
james.mmbase.org:/tmp/cvs-serv23337/java/com/finalist/cmsc/repository/forms

Modified Files:
        ContentAction.java 
Log Message:
CMSC-144(Refresh the left content channel tree when add two contents in one 
channel.)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/java/com/finalist/cmsc/repository/forms
See also: http://www.mmbase.org/jira/browse/CMSC-144


Index: ContentAction.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/java/com/finalist/cmsc/repository/forms/ContentAction.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- ContentAction.java  27 Jun 2008 01:51:56 -0000      1.11
+++ ContentAction.java  26 Sep 2008 07:44:23 -0000      1.12
@@ -90,6 +90,10 @@
             createdNumbers.put(String.valueOf(createdElement.getNumber()), 
createdElement);
          }
          addToRequest(request, "createdNumbers", createdNumbers);
+         //cmsc-144 make reorder icon show up
+         if(elementCount==2){
+                request.setAttribute("refresh", true);
+         }
       }
       return mapping.findForward(SUCCESS);
    }
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to