svn: /web/doc-editor/trunk/js/ui/component/ RepositoryTree.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Mon, 16 Nov 2009 22:32:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290845

Log:
WS

Changed paths:
    U   web/doc-editor/trunk/js/ui/component/RepositoryTree.js

Modified: web/doc-editor/trunk/js/ui/component/RepositoryTree.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/RepositoryTree.js	2009-11-16 22:11:31 UTC (rev 290844)
+++ web/doc-editor/trunk/js/ui/component/RepositoryTree.js	2009-11-16 22:32:30 UTC (rev 290845)
@@ -37,11 +37,11 @@
                 handler : function()
                 {
                     if (this.node.isExpanded()) {
-						this.node.collapse();
-					}
-					else {
-						this.node.expand();
-					}
+                        this.node.collapse();
+                    }
+                    else {
+                        this.node.expand();
+                    }
                 }
             }]
         });
@@ -120,7 +120,7 @@
     listeners: {
         contextmenu : function(node, e)
         {
-			var tmp;
+            var tmp;
             node.select();

             if (node.attributes.type === 'folder' || node.isRoot) {
@@ -359,8 +359,8 @@
 {
     if (!ui.component._RepositoryTree.instance) {
         if (!config) {
-			config = {};
-		}
+            config = {};
+        }
         ui.component._RepositoryTree.instance = new ui.component.RepositoryTree(config);
     }
     return ui.component._RepositoryTree.instance;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.