cvs: doc-editor /js main.js

From: Date: Wed, 22 Apr 2009 05:23:22 +0000
Subject: cvs: doc-editor /js main.js
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3838@lists.php.net to get a copy of this message
yannick Wed Apr 22 05:23:22 2009 UTC Modified files: /doc-editor/js main.js Log: - Sort files in the commit window alphabetically http://cvs.php.net/viewvc.cgi/doc-editor/js/main.js?r1=1.48&r2=1.49&diff_format=u Index: doc-editor/js/main.js diff -u doc-editor/js/main.js:1.48 doc-editor/js/main.js:1.49 --- doc-editor/js/main.js:1.48 Mon Apr 20 22:14:12 2009 +++ doc-editor/js/main.js Wed Apr 22 05:23:22 2009 @@ -1787,7 +1787,7 @@ }, //removeTabEvent WinCommit: function(singleFile, rowIndex, choice){ - var win, btn, FileID, FilePath, FileName, node; + var win, btn, FileID, FilePath, FileName, node, TreeSorter; btn = Ext.get('acc-need-update'); @@ -2128,7 +2128,10 @@ } }, this); - + + // We sort the node alphabetically + TreeSorter = new Ext.tree.TreeSorter(Ext.getCmp('tree-panel'), {}); + TreeSorter.doSort(Ext.getCmp('tree-panel').getRootNode()); }

« previous php.doc.cvs (#3838) next »