svn commit: r560309 - /lenya/trunk/src/modules/editors/xslt/insertLink.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: nettings
Date: Fri Jul 27 09:49:17 2007
New Revision: 560309

URL: http://svn.apache.org/viewvc?view=rev&rev=560309
Log:
fixed "cancel" behaviour of insertLink. thanks to richard for spotting!

Modified:
    lenya/trunk/src/modules/editors/xslt/insertLink.xsl

Modified: lenya/trunk/src/modules/editors/xslt/insertLink.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/editors/xslt/insertLink.xsl?view=diff&rev=560309&r1=560308&r2=560309
==============================================================================
--- lenya/trunk/src/modules/editors/xslt/insertLink.xsl (original)
+++ lenya/trunk/src/modules/editors/xslt/insertLink.xsl Fri Jul 27 09:49:17 2007
@@ -80,10 +80,8 @@
           </div>
         </div>
         
-        <form 
-          name="insertLink" 
-          onsubmit="org.apache.lenya.editors.handleFormSubmit('insertLink')"
-        >
+        <form name="insertLink">
+
           <table class="lenya-table-noborder">
             <tr>
               <td colspan="2" class="lenya-form-caption">
@@ -125,13 +123,14 @@
                   i18n:attr="value" 
                   type="submit" 
                   value="insertLink.submit" 
-                  name="input-insert"
+                  onclick="org.apache.lenya.editors.handleFormSubmit('insertLink')"
                 />
                 &#160;
                 <input 
                   i18n:attr="value"
                   type="submit"
                   value="Cancel" 
+                  name="cancel"
                   onclick="window.close()"
                 />
                 &#160;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.