r1726 - branches/bxe_2_0/js
[email protected] Mon, 13 Aug 2007 15:30:23 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Mon Aug 13 15:30:23 2007
New Revision: 1726
Log:
add wFValidityCheckLevel for bxe_Transform in makeDefaultNodes
Modified:
branches/bxe_2_0/js/bxeFunctions.js
branches/bxe_2_0/js/bxeXMLNode.js
Modified: branches/bxe_2_0/js/bxeFunctions.js
==============================================================================
--- branches/bxe_2_0/js/bxeFunctions.js (original)
+++ branches/bxe_2_0/js/bxeFunctions.js Mon Aug 13 15:30:23 2007
@@ -2282,7 +2282,7 @@
}
-function bxe_Transform(xpath, position, validateNode) {
+function bxe_Transform(xpath, position, validateNode,wFValidityCheckLevel) {
startTimer = new Date();
bxe_dump("TRANSFsORM\n");
var xml = bxe_config.xmldoc;
@@ -2337,7 +2337,7 @@
bxe_dump("bxe_init_htmldocument " + (new Date() - startTimer)/1000 + " sec\n");
var valid = false;
if (validateNode) {
- if (valid = validateNode.isNodeValid(true)) {
+ if (valid = validateNode.isNodeValid(true,wFValidityCheckLevel)) {
bxe_dump("node is valid \n");
} else {
bxe_dump("node is not valid \n");
Modified: branches/bxe_2_0/js/bxeXMLNode.js
==============================================================================
--- branches/bxe_2_0/js/bxeXMLNode.js (original)
+++ branches/bxe_2_0/js/bxeXMLNode.js Mon Aug 13 15:30:23 2007
@@ -403,7 +403,7 @@
return true;
}
if (ret) {
- //bxe_Transform(false,false,this);
+ bxe_Transform(false,false,this,2);
return true;
}
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs