From 817629a2384a90a41d668db3c1f5c7a15baeaa5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 24 Apr 2013 17:23:01 +0200 Subject: [PATCH] Visual editor - removing "selection" section from edit pane --- modules/visualEditor.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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')); -- 2.20.1