X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9d566b4741eb66bf09b5c7d213aa8541886e100a..91a20d3c82e0edcd883148b14df90b56a38ba2b2:/src/redakcja/static/js/wiki/dialog_pubmark.js?ds=inline diff --git a/src/redakcja/static/js/wiki/dialog_pubmark.js b/src/redakcja/static/js/wiki/dialog_pubmark.js index 02493841..6d20493c 100644 --- a/src/redakcja/static/js/wiki/dialog_pubmark.js +++ b/src/redakcja/static/js/wiki/dialog_pubmark.js @@ -9,8 +9,9 @@ if (!options.revision && options.revision != 0) throw "PubmarkDialog needs a revision number."; + let ctx = $.wiki.exitContext(); super(element); - this.ctx = $.wiki.exitContext(); + this.ctx = ctx; this.clearForm(); /* fill out hidden fields */