pari: trunk r1278 - in /trunk: config/backup.html scripts/listfiles
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Jul 31 12:27:18 CDT 2007
Author: pari
Date: Tue Jul 31 12:27:18 2007
New Revision: 1278
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1278
Log:
Fix: http://bugs.digium.com/view.php?id=10031
0010031: backup appear in name order not date order
Modified:
trunk/config/backup.html
trunk/scripts/listfiles
Modified: trunk/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/backup.html?view=diff&rev=1278&r1=1277&r2=1278
==============================================================================
--- trunk/config/backup.html (original)
+++ trunk/config/backup.html Tue Jul 31 12:27:18 2007
@@ -28,7 +28,7 @@
setWindowTitle("Backup");
showdiv_statusmessage();
- parent.astmanEngine.run_tool(asterisk_guiListFiles + " " + asterisk_ConfigBkpPath, callback = function() {
+ parent.astmanEngine.run_tool(asterisk_guiListFiles + " " + asterisk_ConfigBkpPath + " time", callback = function() {
var opt = { method: 'get', asynchronous: true,
onComplete: function(originalRequest){
showlist_of_files(originalRequest.responseText);
Modified: trunk/scripts/listfiles
URL: http://svn.digium.com/view/asterisk-gui/trunk/scripts/listfiles?view=diff&rev=1278&r1=1277&r2=1278
==============================================================================
--- trunk/scripts/listfiles (original)
+++ trunk/scripts/listfiles Tue Jul 31 12:27:18 2007
@@ -3,5 +3,9 @@
#/bin/echo "<div id=list_files>" > $SYSINFO_OUTPUT
/bin/mkdir -p $1
-/bin/ls $1 > $SYSINFO_OUTPUT
-#/bin/echo "</div>" >> $SYSINFO_OUTPUT
+
+if [ "$2" = "time" ]; then
+ /bin/ls $1 -r --sort=time > $SYSINFO_OUTPUT
+else
+ /bin/ls $1 > $SYSINFO_OUTPUT
+fi
More information about the asterisk-gui-commits
mailing list