pari: trunk r726 - /trunk/config/menus.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Apr 20 16:26:14 MST 2007


Author: pari
Date: Fri Apr 20 18:26:13 2007
New Revision: 726

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=726
Log:
Correct paths of default sounds and recorded sounds

Modified:
    trunk/config/menus.html

Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=726&r1=725&r2=726
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Fri Apr 20 18:26:13 2007
@@ -994,7 +994,7 @@
 				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 ;
+				New_OPTION.value = asterisk_Sounds_path + file_name ;
 				try {
 					_$('combosel_sounds').add(New_OPTION, null); // W3C way
 				}catch(ex) {
@@ -1039,7 +1039,7 @@
 				file_name = file_name.substr(0,(file_name.length - 4) ) ;
 				New_OPTION = document.createElement('option');
 				New_OPTION.text =  file_name  ;
-				New_OPTION.value = file_name ;
+				New_OPTION.value = asterisk_menusRecord_path + file_name ;
 				try {
 					_$('combosel_sounds').add(New_OPTION, null); // W3C way
 				}catch(ex) {



More information about the asterisk-gui-commits mailing list