bkruse: branch asterisknow r704 - in /branches/asterisknow: ./ config/ config...

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Apr 18 13:53:18 MST 2007


Author: bkruse
Date: Wed Apr 18 15:53:17 2007
New Revision: 704

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=704
Log:
r703 | bkruse | 2007-04-18 15:51:18 -0500 (Wed, 18 Apr 2007) | 1 line

Replace .ulaw .gsm .whatever with nothing so its just the sound file
........

Added:
    branches/asterisknow/config/scripts/lang.js
      - copied unchanged from r703, trunk/config/scripts/lang.js
Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/menus.html

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Apr 18 15:53:17 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-694
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-703

Modified: branches/asterisknow/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/menus.html?view=diff&rev=704&r1=703&r2=704
==============================================================================
--- branches/asterisknow/config/menus.html (original)
+++ branches/asterisknow/config/menus.html Wed Apr 18 15:53:17 2007
@@ -991,7 +991,7 @@
 				sndfiles[i] = sndfiles[i].replace(/^\s*|\s*$/g,'') ;
 				if( sndfiles[i] == "" ){ continue; }
 				file_name = sndfiles[i].stripTags() ;
-				file_name = file_name.substr(0,(file_name.length - 4) ) ;
+				file_name = file_name.replace(/\..*/,""); /* Replace .ulaw .gsm .whatever with nothing so its just the sound file */
 				New_OPTION = document.createElement('option');
 				New_OPTION.text =  file_name  ;
 				New_OPTION.value = file_name ;



More information about the asterisk-gui-commits mailing list