Author: andre
Date: 2010-06-11 17:41:37 +0200 (Fri, 11 Jun 2010)
New Revision: 42534

Modified:
   openimages/trunk/src/main/webapp/editors/inc/form-create.jspx
   openimages/trunk/src/main/webapp/editors/inc/form-edit.jspx
Log:
include it only when in mmajaxeditor mode

Modified: openimages/trunk/src/main/webapp/editors/inc/form-create.jspx
===================================================================
--- openimages/trunk/src/main/webapp/editors/inc/form-create.jspx       
2010-06-11 15:38:11 UTC (rev 42533)
+++ openimages/trunk/src/main/webapp/editors/inc/form-create.jspx       
2010-06-11 15:41:37 UTC (rev 42534)
@@ -23,7 +23,9 @@
 <mm:content expires="0" type="application/xml" language="${locale}">
 <mm:cloud method="asis">
   
-  <jsp:directive.include file="htmleditorsmall.jspx" />
+  <c:if test="${!empty mmajaxeditor}">
+    <jsp:directive.include file="htmleditorsmall.jspx" />
+  </c:if>
 
   <mm:form id="create_$type">
     <mm:import id="buffer">

Modified: openimages/trunk/src/main/webapp/editors/inc/form-edit.jspx
===================================================================
--- openimages/trunk/src/main/webapp/editors/inc/form-edit.jspx 2010-06-11 
15:38:11 UTC (rev 42533)
+++ openimages/trunk/src/main/webapp/editors/inc/form-edit.jspx 2010-06-11 
15:41:37 UTC (rev 42534)
@@ -18,10 +18,11 @@
 <mm:content expires="0" type="application/xml" language="${locale}">
 <mm:cloud method="asis">
 
-  <jsp:directive.include file="htmleditorsmall.jspx" />
   
   <mm:form id="edit_$nr">
+    
     <c:if test="${!empty mmajaxeditor}">
+      <jsp:directive.include file="htmleditorsmall.jspx" />
       <mm:hasrank minvalue="project manager">
         <p>
           <mm:link page="/editors/edit.jspx" referids="nr">
@@ -30,6 +31,7 @@
         </p>
       </mm:hasrank>
     </c:if>
+    
     <mm:node number="$nr" commitonclose="false">
       <mm:import id="buffer">
         <fieldset>
@@ -38,7 +40,7 @@
               <mm:fieldinfo type="forid">
                 <label for="${_}"><mm:fieldinfo type="guiname" /></label>
               </mm:fieldinfo>
-              <p class="info"><mm:fieldinfo type="description" escape="inline" 
/></p>
+              <!-- p class="info"><mm:fieldinfo type="description" 
escape="inline" /></p -->
               <mm:maywrite><mm:fieldinfo type="input" /><mm:fieldinfo 
type="errors" /></mm:maywrite>
               <mm:maywrite inverse="true"><mm:fieldinfo type="guivalue" 
escape="none" /></mm:maywrite>
             </div>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to