From: Aleksander Ɓukasz Date: Wed, 24 Apr 2013 15:23:01 +0000 (+0200) Subject: Visual editor - removing "selection" section from edit pane X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/817629a2384a90a41d668db3c1f5c7a15baeaa5c?ds=inline;hp=3b3aa4e20f87109394f27e7582dbc529e583dcd5 Visual editor - removing "selection" section from edit pane --- diff --git a/modules/visualEditor.js b/modules/visualEditor.js index 8c5296e..dfa8335 100644 --- a/modules/visualEditor.js +++ b/modules/visualEditor.js @@ -256,12 +256,7 @@ rng.modules.visualEditor = function(sandbox) { mediator.getCurrentNode().attr('wlxml-'+attr, target.val()); isDirty = true; }); - - view.node.on('change', '.rng-visualEditor-editPaneSelectionForm select', function(e) { - var target = $(e.target); - mediator.wrapWithNodeRequest(target.val(), null); - }); - + view.node.on('click', '.rng-visualEditor-editPaneSurrouding a', function(e) { var target = $(e.target); mediator.nodeDimmedById(target.attr('data-id'));