rbrindley: branch 2.0 r4654 - /branches/2.0/config/js/astman.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Mar 24 12:49:28 CDT 2009
Author: rbrindley
Date: Tue Mar 24 12:49:25 2009
New Revision: 4654
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4654
Log:
- merged the systemCmd function fix from astman_revamp
Modified:
branches/2.0/config/js/astman.js
Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=4654&r1=4653&r2=4654
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Tue Mar 24 12:49:25 2009
@@ -2332,6 +2332,10 @@
// Execute a Unix system command
top.log.debug("Executing System Command : '" + cmd + "'");
var delay_cb = function(){
+ if (typeof callbackfunction !== 'function') {
+ return;
+ }
+
if( parent.sessionData.PLATFORM.isAA50 ){
setTimeout( callbackfunction , 500 );
}else{
More information about the asterisk-gui-commits
mailing list