fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edycja paragrafów.
[redakcja.git]
/
platforma
/
static
/
js
/
xslt.js
diff --git
a/platforma/static/js/xslt.js
b/platforma/static/js/xslt.js
index
e098a7d
..
48543e6
100644
(file)
--- a/
platforma/static/js/xslt.js
+++ b/
platforma/static/js/xslt.js
@@
-168,9
+168,11
@@
function xml2html(options) {
if (error.length > 0 && options.error) {
options.error(error.text());
} else {
if (error.length > 0 && options.error) {
options.error(error.text());
} else {
+ // console.log(options.xml);
+ console.log(doc, doc.firstChild);
options.success(doc.firstChild);
}
options.success(doc.firstChild);
}
- }, function() { options.error && options.
success
('Nie udało się załadować XSLT'); });
+ }, function() { options.error && options.
error
('Nie udało się załadować XSLT'); });
}
}
@@
-194,6
+196,6
@@
function html2xml(options) {
} else {
options.success(serialize(doc.documentElement).join(''));
}
} else {
options.success(serialize(doc.documentElement).join(''));
}
- }, function() { options.error && options.
success
('Nie udało się załadować XSLT'); });
+ }, function() { options.error && options.
error
('Nie udało się załadować XSLT'); });
};
};