svn: /web/doc-editor/trunk/js/ui/cmp/ PatchesTreeGrid.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sat, 02 Jul 2011 06:30:45 +0000

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

Log:
fix WS

Changed paths:
    U   web/doc-editor/trunk/js/ui/cmp/PatchesTreeGrid.js

Modified: web/doc-editor/trunk/js/ui/cmp/PatchesTreeGrid.js
===================================================================
--- web/doc-editor/trunk/js/ui/cmp/PatchesTreeGrid.js	2011-07-02 05:28:01 UTC (rev 312795)
+++ web/doc-editor/trunk/js/ui/cmp/PatchesTreeGrid.js	2011-07-02 06:30:45 UTC (rev 312796)
@@ -739,14 +739,14 @@
     countFiles: function(){
         var rootNode = this.getRootNode(), nbFiles = 0, user, folder, files, i, j, h, g;

-		rootNode.cascade(function(node){
-			if( !node.isRoot && node.attributes.type !== 'user' && node.attributes.type !== 'folder' && node.attributes.type !== 'patch') {
-				if (node.parentNode.parentNode.parentNode.attributes.task === PhDOE.user.login) {
-					nbFiles++;
-				}
-			}
-		}, this);
-
+        rootNode.cascade(function(node){
+                if( !node.isRoot && node.attributes.type !== 'user' && node.attributes.type !== 'folder' && node.attributes.type !== 'patch') {
+                        if (node.parentNode.parentNode.parentNode.attributes.task === PhDOE.user.login) {
+                                nbFiles++;
+                        }
+                }
+        }, this);
+
         return nbFiles;
     },
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.