pari: branch asterisknow r769 - in /branches/asterisknow: ./ config/backup.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Apr 26 10:43:37 MST 2007


Author: pari
Date: Thu Apr 26 12:43:35 2007
New Revision: 769

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=769
Log:
Merged revisions 768 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/trunk

........
r768 | pari | 2007-04-26 12:13:34 -0500 (Thu, 26 Apr 2007) | 1 line

adding some changes that were recently done in aadk/backup.html
........

Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/backup.html

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Apr 26 12:43:35 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-758
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-768

Modified: branches/asterisknow/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/backup.html?view=diff&rev=769&r1=768&r2=769
==============================================================================
--- branches/asterisknow/config/backup.html (original)
+++ branches/asterisknow/config/backup.html Thu Apr 26 12:43:35 2007
@@ -116,7 +116,8 @@
 
 
 function restore_bkp(filename){
-	parent.astmanEngine.run_tool("rm /etc/asterick/* -rf ", callback=function(){ restore_bkp_step2(filename);} );
+	//parent.astmanEngine.run_tool("rm /etc/asterisk/* -rf ", callback=function(){ restore_bkp_step2(filename);} );
+	restore_bkp_step2(filename);
 }
 
 
@@ -159,6 +160,13 @@
 		_nn.focus();
 		return true;
 	}
+
+	if (_nn.value.search('^[a-zA-Z_0-9]*$') == -1){
+		alert("spaces and special characters are not allowed in the filename.");
+		_nn.focus();
+		return true;
+	}
+
 	var months = ["jan", "feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"];
 	var today=new Date()
 	var year = today.getFullYear();
@@ -235,4 +243,4 @@
 <div id="sysinfohtml" style="display:none"></div>
 <div id="bg_transparent" STYLE="display:none; position: absolute; left: 0; top: 24; width:100%; height:100%;  background-color:#EFEFEF; -moz-opacity:.50;opacity:.50; border-width: 1px; border-color: #EFEFEF; border-style: solid; z-index:4">
 </div>
-</body>
+</body>



More information about the asterisk-gui-commits mailing list