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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 13 Dec 2009 00:30:50 +0000

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

Log:
If we don't found the file into all stores, we open it in 'All files' modules

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

Modified: web/doc-editor/trunk/js/ui/component/PendingCommitGrid.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/PendingCommitGrid.js	2009-12-13 00:18:41 UTC (rev 292060)
+++ web/doc-editor/trunk/js/ui/component/PendingCommitGrid.js	2009-12-13 00:30:50 UTC (rev 292061)
@@ -542,6 +542,12 @@
                             }
                         });
                     }
+
+                    // FallBack : We open it into "All files" modules
+                    if( !found ) {
+                        ui.component.RepositoryTree.getInstance().openFile(FileLang+FilePath, FileName);
+                    }
+
                 }
             }
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.