fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usunięcie jadowitego żółtego koloru z tła edytora XML i poprawienie buga wprowadzoneg...
[redakcja.git]
/
project
/
templates
/
explorer
/
panels
/
xmleditor.html
diff --git
a/project/templates/explorer/panels/xmleditor.html
b/project/templates/explorer/panels/xmleditor.html
index
8115308
..
ea4c443
100644
(file)
--- a/
project/templates/explorer/panels/xmleditor.html
+++ b/
project/templates/explorer/panels/xmleditor.html
@@
-10,7
+10,7
@@
function xmleditor_onload(event, me) {
console.log('loading: ', me);
var textareaId = 'xmleditor-' + Math.ceil(Math.random() * 1000000000);
function xmleditor_onload(event, me) {
console.log('loading: ', me);
var textareaId = 'xmleditor-' + Math.ceil(Math.random() * 1000000000);
- $('textarea',
panel
).attr('id', textareaId);
+ $('textarea',
me
).attr('id', textareaId);
var editor = CodeMirror.fromTextArea(textareaId, {
parserfile: 'parsexml.js',
path: "/static/js/codemirror/",
var editor = CodeMirror.fromTextArea(textareaId, {
parserfile: 'parsexml.js',
path: "/static/js/codemirror/",
@@
-19,7
+19,7
@@
})
console.log('Frame is: ', editor.frame);
var frame = $(editor.frame)
})
console.log('Frame is: ', editor.frame);
var frame = $(editor.frame)
- frame.css({width: '100%', height: '100%'
, background: 'yellow'
});
+ frame.css({width: '100%', height: '100%'});
};
function xmleditor_onunload(event, me) {}
};
function xmleditor_onunload(event, me) {}