From: zuber Date: Mon, 24 Aug 2009 10:42:04 +0000 (+0200) Subject: Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/e6ff1800f3b0c262d1a4d55001c376a1d9e9241a?hp=456187c9000834d77372cf03f7a63c7bb4d9da49 Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma --- diff --git a/project/templates/explorer/panels/xmleditor.html b/project/templates/explorer/panels/xmleditor.html index 81153085..ea4c4433 100644 --- 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); - $('textarea', panel).attr('id', textareaId); + $('textarea', me).attr('id', textareaId); 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) - frame.css({width: '100%', height: '100%', background: 'yellow'}); + frame.css({width: '100%', height: '100%'}); }; function xmleditor_onunload(event, me) {}