Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory james.mmbase.org:/tmp/cvs-serv6867/data/xsl
Modified Files:
wizard.xsl
Log Message:
added validate also on 'blur'. MMB-1215
See also:
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/data/xsl
See also: http://www.mmbase.org/jira/browse/MMB-1215
Index: wizard.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/wizard.xsl,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -b -r1.188 -r1.189
--- wizard.xsl 29 Oct 2008 14:11:11 -0000 1.188
+++ wizard.xsl 8 Nov 2008 13:09:58 -0000 1.189
@@ -13,7 +13,7 @@
@author Nico Klasens
@author Martijn Houtman
@author Robin van Meteren
- @version $Id: wizard.xsl,v 1.188 2008/10/29 14:11:11 michiel Exp $
+ @version $Id: wizard.xsl,v 1.189 2008/11/08 13:09:58 michiel Exp $
This xsl uses Xalan functionality to call java classes
to format dates and call functions on nodes
@@ -169,6 +169,13 @@
customize(editor, "]]></xsl:text><xsl:value-of
select="$htmlareadir"/><xsl:text disable-output-escaping="yes"><![CDATA[");
editor.generate();
htmlAreas[i] = editor;
+ setTimeout(function() {
+ HTMLArea._addEvent(editor._doc, "blur", function() {
+ editor._textArea.value = editor.getHTML();
+ validator.validate(editor._textArea);
+ });
+ },
+ 1000);
}
}
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs