X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0249ff0d913dfaef2a6f5e8518e5736545a23c28..1946d77911c974e2755d59891f34337a8af829b6:/project/templates/explorer/panels/xmleditor.html?ds=sidebyside diff --git a/project/templates/explorer/panels/xmleditor.html b/project/templates/explorer/panels/xmleditor.html index fe1870ed..2803b6a1 100644 --- a/project/templates/explorer/panels/xmleditor.html +++ b/project/templates/explorer/panels/xmleditor.html @@ -45,7 +45,7 @@ panel_hooks = { var pos = texteditor.cursorPosition(); texteditor.selectLines(pos.line, pos.character + tag.length + 2); } - $(document).trigger('panel:contentChanged', panel); + $(document).trigger('panel:contentChanged', self); } if ($(this).attr('p:key')) { keys[$(this).attr('p:key')] = handler;