pari: branch 2.0 r4188 - /branches/2.0/config/js/index.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Nov 21 10:41:09 CST 2008


Author: pari
Date: Fri Nov 21 10:41:08 2008
New Revision: 4188

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

 read object property, instead of hasOwnProperty
(closes issue #13924)


Modified:
    branches/2.0/config/js/index.js

Modified: branches/2.0/config/js/index.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=4188&r1=4187&r2=4188
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Fri Nov 21 10:41:08 2008
@@ -872,7 +872,7 @@
 		var tmp = [] ;
 		tmp = tmp.concat( astgui_manageusers.listOfUsers() );
 		if( sessionData.pbxinfo['localextensions'].hasOwnProperty('VoiceMailMain') ){
-			tmp.push( ASTGUI.parseContextLine.getExten(sessionData.pbxinfo['localextensions'].hasOwnProperty('VoiceMailMain')) ) ;
+			tmp.push( ASTGUI.parseContextLine.getExten( sessionData.pbxinfo['localextensions']['VoiceMailMain'] ) ) ;
 		}
 		var y = sessionData.pbxinfo.voicemenus.getOwnProperties();
 			y.each( function( item ){




More information about the asterisk-gui-commits mailing list