Fix in nodePane module
[fnpeditor.git] / modules / documentCanvas / documentCanvas.js
index f9a8b7a..ea44955 100644 (file)
@@ -182,18 +182,18 @@ return function(sandbox) {
         },\r
         highlightNode: function(node) {\r
             if(!this.gridToggled) {\r
-                node.addClass('rng-hover');\r
+                node.addClass('rng-common-hoveredNode');\r
                 var label = node.attr('wlxml-tag');\r
                 if(node.attr('wlxml-class'))\r
                     label += ' / ' + node.attr('wlxml-class');\r
-                var tag = $('<div>').addClass('rng-visualEditor-nodeHoverTag').text(label);\r
+                var tag = $('<div>').addClass('rng-module-documentCanvas-hoveredNodeTag').text(label);\r
                 node.append(tag);\r
             }\r
         },\r
         dimNode: function(node) {\r
             if(!this.gridToggled) {\r
-                node.removeClass('rng-hover');\r
-                node.find('.rng-visualEditor-nodeHoverTag').remove();\r
+                node.removeClass('rng-common-hoveredNode');\r
+                node.find('.rng-module-documentCanvas-hoveredNodeTag').remove();\r
             }\r
         },\r
         highlightNodeById: function(id) {\r
@@ -219,7 +219,7 @@ return function(sandbox) {
             this.selectNode(node);\r
         },\r
         toggleGrid: function(toggle) {\r
-            this.node.find('[wlxml-tag]').toggleClass('rng-hover', toggle);\r
+            this.node.find('[wlxml-tag]').toggleClass('rng-common-hoveredNode', toggle);\r
             this.gridToggled = toggle;\r
         }\r
     };\r