Author: billyxie Date: 2009-08-10 05:09:01 +0200 (Mon, 10 Aug 2009) New Revision: 37625
Modified: CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/simplecontent.jsp Log: CMSC-1477 - 4 Based on the FD, implement the main function in simple editor overview page: edit, preview, workfolw, sorting, pageing Modified: CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/simplecontent.jsp =================================================================== --- CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/simplecontent.jsp 2009-08-10 02:43:40 UTC (rev 37624) +++ CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/simplecontent.jsp 2009-08-10 03:09:01 UTC (rev 37625) @@ -6,18 +6,21 @@ <html:html xhtml="true"> <cmscedit:head title="search.title"> <script src="../repository/search.js" type="text/javascript"></script> - <script src="../repository/content.js" type="text/javascript"></script> - <script type="text/javascript"> - function selectChannel(channel, returnpath){ - var newDirection=document.forms[0].direction.value; - var type=document.forms[0].order.value; - var offset = document.forms[0].offset.value; - var pagerDOToffset = ''; - var pagepath = document.location.toString().substr(0, document.location.toString().indexOf("editors")); - pagepath += "editors/repository/MoveContentFromSearch.do?returnpath=" + returnpath + "&newparentchannel=" + channel + "&objectnumber=" + moveContentNumber+"&orderby="+type+"&direction="+newDirection+'&offset='+offset+'&pager.offset='+pagerDOToffset; - document.location = pagepath; - } - </script> + <script src="../repository/content.js" type="text/javascript"></script> + <script type="text/javascript"> + <c:if test="${not empty param.message}"> + addLoadEvent(alert('${param.message}')); + </c:if> + function selectChannel(channel, returnpath){ + var newDirection=document.forms[0].direction.value; + var type=document.forms[0].order.value; + var offset = document.forms[0].offset.value; + var pagerDOToffset = ''; + var pagepath = document.location.toString().substr(0, document.location.toString().indexOf("editors")); + pagepath += "editors/repository/MoveContentFromSearch.do?returnpath=" + returnpath + "&newparentchannel=" + channel + "&objectnumber=" + moveContentNumber+"&orderby="+type+"&direction="+newDirection+'&offset='+offset+'&pager.offset='+pagerDOToffset; + document.location = pagepath; + } + </script> </cmscedit:head> <body> <mm:import externid="returnurl"/> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs