From fa300c83de0c9788beb4e833c2003618e7d20646 Mon Sep 17 00:00:00 2001 From: zuber Date: Mon, 24 Aug 2009 12:41:04 +0200 Subject: [PATCH] =?utf8?q?Usuni=C4=99cie=20jadowitego=20=C5=BC=C3=B3=C5=82?= =?utf8?q?tego=20koloru=20z=20t=C5=82a=20edytora=20XML=20i=20poprawienie?= =?utf8?q?=20buga=20wprowadzonego=20przy=20refaktoringu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- project/templates/explorer/panels/xmleditor.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {} -- 2.20.1