Visual editor - removing "selection" section from edit pane
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 24 Apr 2013 15:23:01 +0000 (17:23 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 24 Apr 2013 15:23:01 +0000 (17:23 +0200)
modules/visualEditor.js

index 8c5296e..dfa8335 100644 (file)
@@ -256,12 +256,7 @@ rng.modules.visualEditor = function(sandbox) {
                 mediator.getCurrentNode().attr('wlxml-'+attr, target.val());\r
                 isDirty = true;\r
             });\r
                 mediator.getCurrentNode().attr('wlxml-'+attr, target.val());\r
                 isDirty = true;\r
             });\r
-            \r
-            view.node.on('change', '.rng-visualEditor-editPaneSelectionForm select', function(e) {\r
-                var target = $(e.target);\r
-                mediator.wrapWithNodeRequest(target.val(), null);\r
-            });\r
-            \r
+                       \r
             view.node.on('click', '.rng-visualEditor-editPaneSurrouding a', function(e) {\r
                 var target = $(e.target);\r
                 mediator.nodeDimmedById(target.attr('data-id'));\r
             view.node.on('click', '.rng-visualEditor-editPaneSurrouding a', function(e) {\r
                 var target = $(e.target);\r
                 mediator.nodeDimmedById(target.attr('data-id'));\r