You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ed...@apache.org on 2005/04/19 16:08:35 UTC

svn commit: r161891 - lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/scheduler/common.xsl

Author: edith
Date: Tue Apr 19 07:08:35 2005
New Revision: 161891

URL: http://svn.apache.org/viewcvs?view=rev&rev=161891
Log:
Thanks to Simon Litwan:renamed homonymous formfield, add a bit javascript and a hintsrc/webapp/lenya/xslt/notification/message2xslt.xsl

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/scheduler/common.xsl

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/scheduler/common.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/scheduler/common.xsl?view=diff&r1=161890&r2=161891
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/scheduler/common.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/scheduler/common.xsl Tue Apr 19 07:08:35 2005
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 
-<!-- $Id: common.xsl,v 1.17 2004/05/17 14:53:46 andreas Exp $ -->
+<!-- $Id$ -->
 
 <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -121,7 +121,7 @@
           onclick="
             elements['notification.subject'].value = document.getElementById('notification.subject').value;
             elements['notification.message'].value = document.getElementById('notification.message').value;
-            elements['notification.tolist'].value = document.getElementById('notification.tolist').value;
+            elements['notification.tolist'].value = document.getElementById('notification.tolist').value.replace(/[^a-zA-Z0-9_,.@%-]/g, '')+','+document.getElementById('notification.tolist.preset').value;
           "/>
       </td>
     </tr>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org