pari: branch 2.0 r4250 - /branches/2.0/config/js/menus.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Dec 1 15:53:04 CST 2008


Author: pari
Date: Mon Dec  1 15:53:04 2008
New Revision: 4250

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

 add '.wav' in chop_extension()



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

Modified: branches/2.0/config/js/menus.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/menus.js?view=diff&rev=4250&r1=4249&r2=4250
==============================================================================
--- branches/2.0/config/js/menus.js (original)
+++ branches/2.0/config/js/menus.js Mon Dec  1 15:53:04 2008
@@ -46,6 +46,7 @@
 var chop_Extension = function(a){
 	if( !a ){ return ''; }
 	if( a.endsWith('.gsm') ){ return a.rChop('.gsm'); }
+	else if( a.endsWith('.wav') ){ return a.rChop('.wav'); }
 	else if( a.endsWith('.alaw') ){ return a.rChop('.alaw'); }
 	else if( a.endsWith('.g722') ){ return a.rChop('.g722'); }
 	else if( a.endsWith('.g729') ){ return a.rChop('.g729'); }




More information about the asterisk-gui-commits mailing list