fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reversion
[redakcja.git]
/
src
/
redakcja
/
static
/
js
/
wiki
/
dialog_revert.js
diff --git
a/src/redakcja/static/js/wiki/dialog_revert.js
b/src/redakcja/static/js/wiki/dialog_revert.js
index
0771088
..
2af642e
100644
(file)
--- a/
src/redakcja/static/js/wiki/dialog_revert.js
+++ b/
src/redakcja/static/js/wiki/dialog_revert.js
@@
-6,8
+6,9
@@
class RevertDialog extends $.wiki.cls.GenericDialog {
constructor(element, options) {
class RevertDialog extends $.wiki.cls.GenericDialog {
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 */