Update of
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl
In directory
james.mmbase.org:/tmp/cvs-serv15710/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl
Modified Files:
wizard.xsl
Log Message:
CMSC-1147 - Specify content type let you choose from all builders
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl
See also: http://www.mmbase.org/jira/browse/CMSC-1147
Index: wizard.xsl
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/editwizards_new/xsl/wizard.xsl,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- wizard.xsl 20 Apr 2009 06:56:38 -0000 1.26
+++ wizard.xsl 20 Apr 2009 11:46:22 -0000 1.27
@@ -474,10 +474,10 @@
</tr>
</table>
</xsl:for-each>
- <xsl:for-each select="comma...@name='mysearch']">
+ <xsl:for-each select="comma...@name='contenttypeselector']">
<script type="text/javascript">
function searchtypedef(){
-
window.open('../../../../editors/typedef/TypedefAction.do?cmd=<xsl:value-of
select="../comma...@name='add-item']/@cmd"
/>&objectnumber=<xsl:value-of select="../@number" />&searchvalue=' +
form["searchvalue"].value, 'pageselector',
'width=401,height=401,status=yes,toolbar=no,titlebar=no,scrollbars=no,resizable=yes,menubar=no');
+
window.open('../../../../editors/contenttype/ContentTypeAction.do?cmd=<xsl:value-of
select="../comma...@name='add-item']/@cmd"
/>&objectnumber=<xsl:value-of select="../@number" />&searchvalue=' +
form["searchvalue"].value, 'pageselector',
'width=401,height=401,status=yes,toolbar=no,titlebar=no,scrollbars=no,resizable=yes,menubar=no');
}
</script>
<table class="searchcontent">
@@ -725,7 +725,7 @@
<!-- Search is handled by the listsearch template -->
</xsl:template>
- <xsl:template match="comma...@name='mysearch']"
mode="listnewbuttons">
+ <xsl:template match="comma...@name='contenttypeselector']"
mode="listnewbuttons">
<!-- Search is handled by the listsearch template -->
</xsl:template>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs