X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9d566b4741eb66bf09b5c7d213aa8541886e100a..da0fee096a166c7fd97857af84d99fe2facfe7f3:/src/redakcja/static/js/wiki/dialog_save.js?ds=sidebyside diff --git a/src/redakcja/static/js/wiki/dialog_save.js b/src/redakcja/static/js/wiki/dialog_save.js index e3402b17..03baa0ff 100644 --- a/src/redakcja/static/js/wiki/dialog_save.js +++ b/src/redakcja/static/js/wiki/dialog_save.js @@ -5,9 +5,10 @@ (function($) { class SaveDialog extends $.wiki.cls.GenericDialog { - constructor(element) { + constructor(element, options) { + let ctx = $.wiki.exitContext(); super(element); - this.ctx = $.wiki.exitContext(); + this.ctx = ctx; this.clearForm(); /* fill out hidden fields */