fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7f7c1a7
)
Fixes #4189: theme box fails when entering second theme.
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 19 Apr 2021 11:10:04 +0000
(13:10 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 19 Apr 2021 11:10:04 +0000
(13:10 +0200)
src/redakcja/static/js/wiki/view_properties.js
patch
|
blob
|
history
diff --git
a/src/redakcja/static/js/wiki/view_properties.js
b/src/redakcja/static/js/wiki/view_properties.js
index
32a7101
..
e6ad1ca
100644
(file)
--- a/
src/redakcja/static/js/wiki/view_properties.js
+++ b/
src/redakcja/static/js/wiki/view_properties.js
@@
-47,8
+47,10
@@
self.$pane = $("#side-properties");
$(document).on('click', '[x-node]', function(e) {
- e.stopPropagation();
- self.edit(this);
+ if (!e.redakcja_edited) {
+ e.redakcja_edited = true;
+ self.edit(this);
+ }
});
self.$pane.on('click', '#parents li', function(e) {