X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/aee9f15afdae1c21e12b7ddc0671c0a619a7776f..ab3c4f696564e0f8cad64ff3f3123d4f6fac4361:/src/redakcja/static/js/wiki/view_properties.js?ds=sidebyside diff --git a/src/redakcja/static/js/wiki/view_properties.js b/src/redakcja/static/js/wiki/view_properties.js index 32a7101b..e6ad1ca2 100644 --- 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) {