Author: michiel Date: 2010-03-17 23:35:27 +0100 (Wed, 17 Mar 2010) New Revision: 41487
Modified: mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relate.tagx Log: implemented 'select' button, and restored old functionality Modified: mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relate.tagx =================================================================== --- mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relate.tagx 2010-03-17 22:35:11 UTC (rev 41486) +++ mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relate.tagx 2010-03-17 22:35:27 UTC (rev 41487) @@ -2,6 +2,7 @@ xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0" xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate" version="2.0" > <!-- @@ -132,7 +133,7 @@ xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" basename="org.mmbase.searchrelate.resources.searchrelate"> <div id="mm_related_${sid}" - class="mm_related ${empty unrelate or ! unrelate ? '' : 'can_unrelate'} ${empty relations or ! relations ? '' : 'can_editrelations'} ${empty submit ? 'instant' : ''} ${styleClass}"> + class="mm_related ${empty unrelate or ! unrelate ? '' : 'can_unrelate'} ${empty relations or ! relations ? '' : 'can_editrelations'} ${empty submit ? 'instant' : ''} ${select ? 'select' : '' } ${styleClass}"> <c:if test="${! empty transaction}"> <span class="transactionname" style="display: none;">${transaction}</span> </c:if> @@ -172,6 +173,9 @@ </mm:include> </div> </c:if> + <c:if test="${select}"> + <a href="#move" class="move"><mm-sr:button type="move" alt="move" /></a> + </c:if> <div class="mm_relate_repository searchable"> <jsp:invoke fragment="repositoryTitle" /> <c:choose> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs