fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
temporary attributes for bible tags
[redakcja.git]
/
src
/
redakcja
/
static
/
js
/
wiki
/
dialog_save.js
diff --git
a/src/redakcja/static/js/wiki/dialog_save.js
b/src/redakcja/static/js/wiki/dialog_save.js
index
e3402b1
..
03baa0f
100644
(file)
--- 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 {
(function($) {
class SaveDialog extends $.wiki.cls.GenericDialog {
- constructor(element) {
+ constructor(element, options) {
+ let ctx = $.wiki.exitContext();
super(element);
super(element);
- this.ctx =
$.wiki.exitContext()
;
+ this.ctx =
ctx
;
this.clearForm();
/* fill out hidden fields */
this.clearForm();
/* fill out hidden fields */