bkruse: branch asterisknow r1714 - /branches/asterisknow/config/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Oct 22 16:00:16 CDT 2007


Author: bkruse
Date: Mon Oct 22 16:00:16 2007
New Revision: 1714

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1714
Log:
more stuff

Modified:
    branches/asterisknow/config/digital.html
    branches/asterisknow/config/misdn.html

Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=1714&r1=1713&r2=1714
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Mon Oct 22 16:00:16 2007
@@ -211,9 +211,9 @@
 	ASTGUI.events.add( _$('loadZone') , "change" , function(){_$('save_b').disabled = false; _$('cancel_b').disabled = false;}) ;
 
 	showdiv_statusmessage(); // create status message dialog
-	_$('message_text').innerHTML = "Detecting Digital Cards ... (Beta)";
+	_$('message_text').innerHTML = "Detecting Digital Cards ...";
 	_$('status_message').style.display="block";
-	setTimeout(function(){ _$('status_message').style.display='none';}, 1000);
+	setTimeout("_$('status_message').style.display='none';", 1000);
 	preparemenus();
 	parent.loadscreen(this);
 	loadConfigFiles.readApplyzap();

Modified: branches/asterisknow/config/misdn.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/misdn.html?view=diff&rev=1714&r1=1713&r2=1714
==============================================================================
--- branches/asterisknow/config/misdn.html (original)
+++ branches/asterisknow/config/misdn.html Mon Oct 22 16:00:16 2007
@@ -215,9 +215,9 @@
 	ASTGUI.events.add( _$('echotraining') , "change" , function(){_$('save_b').disabled = false; _$('cancel_b').disabled = false;}) ;
 
 	showdiv_statusmessage(); // create status message dialog
-	_$('message_text').innerHTML = "Detecting Digital Cards ... (Beta)";
+	_$('message_text').innerHTML = "Detecting mISDN Cards ...";
 	_$('status_message').style.display="block";
-	setTimeout(function(){ _$('status_message').style.display='none';}, 1000);
+	setTimeout("_$('status_message').style.display='none';", 5000);
 	preparemenus();
 	loadConfigFiles.runandread();
 	parent.loadscreen(this);
@@ -298,6 +298,13 @@
 								SPANS[z] = {};
 								/* set the spans stats here */
 							}
+						}
+						if(CARDS == 0) {
+							_$('errmsg').innerHTML = "No mISDN Cards detected (found 0 spans)!";
+							_$('errmsg').style.display = '';
+							_$('div_digitalcardstable').style.display = 'none';
+							gui_feedback("No mISDN Cards found !!");
+							return false;
 						}
 					}
 					/* Here we would call something to setup a table for basic cards... (4 port BRI)*/




More information about the asterisk-gui-commits mailing list