Change string normalization used by CodeMirror search.
[redakcja.git] / src / redakcja / static / js / wiki / view_properties.js
index 32a7101..e6ad1ca 100644 (file)
             self.$pane = $("#side-properties");
             
             $(document).on('click', '[x-node]', function(e) {
             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) {
             });
 
             self.$pane.on('click', '#parents li', function(e) {