Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / DataView-more.html
index 4d3800f..807d98e 100644 (file)
@@ -1,10 +1,10 @@
-<html>\r
-<head>\r
-  <title>The source code</title>\r
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body  onload="prettyPrint();">\r
+<html>
+<head>
+  <title>The source code</title>
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body  onload="prettyPrint();">
     <pre class="prettyprint lang-js"><div id="cls-Ext.DataView.LabelEditor"></div>/**\r
  * @class Ext.DataView.LabelEditor\r
  * @extends Ext.Editor\r
@@ -102,6 +102,9 @@ Ext.DataView.DragSelector = function(cfg){
         if(!proxy){\r
             proxy = view.el.createChild({cls:'x-view-selector'});\r
         }else{\r
+            if(proxy.dom.parentNode !== view.el.dom){\r
+                view.el.dom.appendChild(proxy.dom);\r
+            }\r
             proxy.setDisplayed('block');\r
         }\r
         fillRegions();\r
@@ -155,6 +158,6 @@ Ext.DataView.DragSelector = function(cfg){
         });\r
         tracker.initEl(view.el);\r
     }\r
-};</pre>    \r
-</body>\r
+};</pre>
+</body>
 </html>
\ No newline at end of file