pari: trunk r474 - /trunk/config/backup.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Mar 22 15:27:13 MST 2007


Author: pari
Date: Thu Mar 22 17:27:12 2007
New Revision: 474

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=474
Log:
guess split() behaves differently in IE and  mozilla browsers

Modified:
    trunk/config/backup.html

Modified: trunk/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/backup.html?view=diff&rev=474&r1=473&r2=474
==============================================================================
--- trunk/config/backup.html (original)
+++ trunk/config/backup.html Thu Mar 22 17:27:12 2007
@@ -61,8 +61,7 @@
 		}
 		bkpfiles[i] = bkpfiles[i].replace(/^\s*|\s*$/g,'') ;
 		if( bkpfiles[i] == "" ){continue;	}
-
-		addrow_totable( bkpfiles[i], i );
+		addrow_totable( bkpfiles[i].stripTags(), i );
 	}
 
 
@@ -135,7 +134,7 @@
 }
 
 function delete_bkp( filename ){
-	if(!confirm("Delete Backup file "+ filename +" ?")){ return ; }
+	if(!confirm("Delete selected Backup Configuration ?")){ return ; }
 	parent.astmanEngine.run_tool("/bin/rm -f "+ bkp_path + filename , callback=function(){
 		_$('status').innerHTML = " <I> Delete Request Successfull ! </I>";
 		window.location.href = window.location.href ;



More information about the asterisk-gui-commits mailing list