pari: trunk r457 - /trunk/config/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Tue Mar 20 23:37:00 MST 2007
Author: pari
Date: Wed Mar 21 01:37:00 2007
New Revision: 457
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=457
Log:
Fixing some errors that were introduced during 452-456
Modified:
trunk/config/iax.html
trunk/config/incoming.html
trunk/config/localexts.html
trunk/config/menus.html
trunk/config/numberplan.html
trunk/config/options.html
trunk/config/record.html
trunk/config/sysinfo.html
Modified: trunk/config/iax.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/iax.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/iax.html (original)
+++ trunk/config/iax.html Wed Mar 21 01:37:00 2007
@@ -102,40 +102,41 @@
}
}
function update_ordercodecs(){
- $('disallow').value = "";
- $('allow').value = "";
- if($('disallow_all').checked){
- $('disallow').value = "all";
+ _$('disallow').value = "";
+ _$('allow').value = "";
+ if(_$('disallow_all').checked){
+ _$('disallow').value = "all";
}else{
- for (var x=0; x < $('disallowed').length ; x++){
+ var _disallowed = _$('disallowed');
+ for (var x=0; x < _disallowed.length ; x++){
if(x==0){
- $('disallow').value = $('disallowed').options[x].value ;
+ _$('disallow').value =_disallowed.options[x].value ;
}else{
- $('disallow').value = $('disallow').value + "," + $('disallowed').options[x].value ;
+ _$('disallow').value = $('disallow').value + "," + _disallowed.options[x].value ;
}
}
}
-
- for (var x=0; x < $('allowed').length ; x++){
+ var _allowed = _$('allowed');
+ for (var x=0; x < _allowed.length ; x++){
if(x==0){
- $('allow').value = $('allowed').options[x].value ;
+ _$('allow').value = _allowed.options[x].value ;
}else{
- $('allow').value = $('allow').value + "," + $('allowed').options[x].value ;
+ _$('allow').value = $('allow').value + "," + _allowed.options[x].value ;
}
}
- $('div_setordercodecs').style.display = "none";
- $('bg_transparent').style.display = "none";
- $('save').disabled = false;
- $('cancel').disabled = false;
+ _$('div_setordercodecs').style.display = "none";
+ _$('bg_transparent').style.display = "none";
+ _$('save').disabled = false;
+ _$('cancel').disabled = false;
}
function cancel_ordercodecs(){
- $('bg_transparent').style.display = "none";
- $('div_setordercodecs').style.display = "none";
+ _$('bg_transparent').style.display = "none";
+ _$('div_setordercodecs').style.display = "none";
}
function update_div_setordercodecs(){
- $('disallowed').innerHTML=""; $('allowed').innerHTML="";
- if( $('disallow').value == "all" || $('disallow').value == ""){
- $('disallow_all').checked = true;
+ _$('disallowed').innerHTML=""; _$('allowed').innerHTML="";
+ if( _$('disallow').value == "all" || _$('disallow').value == ""){
+ _$('disallow_all').checked = true;
selectbox_add("disallowed", "ulaw");
selectbox_add("disallowed", "alaw");
selectbox_add("disallowed", "gsm");
@@ -146,28 +147,28 @@
selectbox_add("disallowed", "lpc10");
selectbox_add("disallowed", "g729");
}else{
- var tmp = $('disallow').value.split(",");
+ var tmp = _$('disallow').value.split(",");
for(var x=0; x < tmp.length; x++){
selectbox_add("disallowed", tmp[x]);
}
}
- var tmp = $('allow').value.split(",");
+ var tmp = _$('allow').value.split(",");
for(var x=0; x < tmp.length; x++){
selectbox_add("allowed", tmp[x]);
selectbox_remove("disallowed",tmp[x]);
}
- $('bg_transparent').style.display='';
- $('div_setordercodecs').style.display='';
+ _$('bg_transparent').style.display='';
+ _$('div_setordercodecs').style.display='';
}
function disallow_all_refresh(){
- if( $('disallow_all').checked ){
- $('disallow').value = "all";
- $('allow').value = "";
+ if( _$('disallow_all').checked ){
+ _$('disallow').value = "all";
+ _$('allow').value = "";
update_div_setordercodecs();
- $('save').disabled = false;
- $('cancel').disabled = false;
+ _$('save').disabled = false;
+ _$('cancel').disabled = false;
}
}
// End of Allowed/Disallowed codescs related functions
@@ -182,166 +183,166 @@
<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
<tr> <td align=right colspan=2> </td> </tr>
<tr> <td align=right>Bind Port:</td>
- <td> <input type='text' size=4 id='bindport' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='bindport' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Bind Address:</td>
- <td> <input type='text' size=14 id='bindaddr' class="input8"></td>
+ <td> <input type='text' size=14 id='bindaddr' class="input8"></td>
</tr>
<tr> <td align=right>IAX1 Compatibility:</td>
- <td><input type='checkbox' id='iaxcompat'></td>
+ <td><input type='checkbox' id='iaxcompat'></td>
</tr>
<tr> <td align=right>No Checksums:</td>
- <td><input type='checkbox' id='nochecksums'></td>
+ <td><input type='checkbox' id='nochecksums'></td>
</tr>
<tr> <td align=right>Delay Reject:</td>
- <td><input type='checkbox' id='delayreject'></td>
+ <td><input type='checkbox' id='delayreject'></td>
</tr>
<tr> <td align=right>ADSI:</td>
- <td><input type='checkbox' id='adsi'></td>
+ <td><input type='checkbox' id='adsi'></td>
</tr>
<tr> <td colspan=2><B>Call Detail Records</B></td> </tr>
<tr> <td align=right>AMA Flags:</td>
- <td> <input type='text' size=14 id='amaflags' class="input8"></td>
+ <td> <input type='text' size=14 id='amaflags' class="input8"></td>
</tr>
<tr> <td align=right>Accountcode:</td>
- <td> <input type='text' size=14 id='accountcode' class="input8"></td>
+ <td> <input type='text' size=14 id='accountcode' class="input8"></td>
</tr>
<tr> <td align=right>Music On Hold Interpret:</td>
- <td> <input type='text' size=14 id='mohinterpret' class="input8"></td>
+ <td> <input type='text' size=14 id='mohinterpret' class="input8"></td>
</tr>
<tr> <td align=right>Music On Hold Suggest:</td>
- <td> <input type='text' size=14 id='mohsuggest' class="input8"></td>
+ <td> <input type='text' size=14 id='mohsuggest' class="input8"></td>
</tr>
<tr> <td align=right>Language:</td>
- <td> <input type='text' size=3 dfalt='en' id='language' class="input8"></td>
+ <td> <input type='text' size=3 dfalt='en' id='language' class="input8"></td>
</tr>
<tr> <td align=right>Bandwidth:</td>
- <td> <select id="bandwidth" class="input8">
- <option value="low">low</option>
- <option value="medium">medium</option>
- <option value="high">high</option>
- </select>
- </td>
+ <td> <select id="bandwidth" class="input8">
+ <option value="low">low</option>
+ <option value="medium">medium</option>
+ <option value="high">high</option>
+ </select>
+ </td>
</tr>
<tr> <td colspan=2><B>Jitter Buffer</B></td></tr>
<tr> <td align=right>Enable Jitter Buffer:</td>
- <td><input type='checkbox' id='jitterbuffer'></td>
+ <td><input type='checkbox' id='jitterbuffer'></td>
</tr>
<tr> <td align=right>Force Jitter Buffer:</td>
- <td><input type='checkbox' id='forcejitterbuffer'></td>
+ <td><input type='checkbox' id='forcejitterbuffer'></td>
</tr>
<tr> <td align=right>Drop Count:</td>
- <td> <input type='text' size=4 id='dropcount' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='dropcount' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Max Jitter Buffer:</td>
- <td> <input type='text' size=4 id='maxjitterbuffer' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='maxjitterbuffer' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Max Interpolation Frames:</td>
- <td> <input type='text' size=4 id='maxjitterinterps' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='maxjitterinterps' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Resync Threshold:</td>
- <td> <input type='text' size=4 id='resyncthreshold' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='resyncthreshold' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Max Excess Buffer:</td>
- <td> <input type='text' size=4 id='maxexcessbuffer' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='maxexcessbuffer' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Min Excess Buffer:</td>
- <td> <input type='text' size=4 id='minexcessbuffer' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='minexcessbuffer' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Jitter Shrink Rate:</td>
- <td> <input type='text' size=4 id='jittershrinkrate' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='jittershrinkrate' pattern='^\d*$' class="input8"></td>
</tr>
<!-- Done with Jitter Buffer -->
<tr> <td colspan=2><B>IAX Trunking Options</B></td></tr>
<tr> <td align=right>Trunk Freq:</td>
- <td> <input type='text' size=4 id='trunkfreq' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='trunkfreq' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Trunk Time Stamps:</td>
- <td><input type='checkbox' id='trunktimestamps'></td>
+ <td><input type='checkbox' id='trunktimestamps'></td>
</tr>
<tr> <td colspan=2><B>IAX Registration Options</B></td></tr>
<tr> <td align=right>Min Reg Expire:</td>
- <td> <input type='text' size=4 id='minregexpire' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='minregexpire' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Max Reg Expire:</td>
- <td> <input type='text' size=4 id='maxregexpire' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='maxregexpire' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>IAX ThreadCount:</td>
- <td> <input type='text' size=4 id='iaxthreadcount' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='iaxthreadcount' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>IAX Max ThreadCount:</td>
- <td> <input type='text' size=4 id='iaxmaxthreadcount' pattern='^\d*$' class="input8"></td>
+ <td> <input type='text' size=4 id='iaxmaxthreadcount' pattern='^\d*$' class="input8"></td>
</tr>
<tr> <td align=right>Register:</td>
- <td> <input type='text' size=12 id='register' class="input8"></td>
+ <td> <input type='text' size=12 id='register' class="input8"></td>
</tr>
<tr> <td align=right>Reg Context:</td>
- <td> <input type='text' size=12 id='regcontext' class="input8"></td>
+ <td> <input type='text' size=12 id='regcontext' class="input8"></td>
</tr>
<tr> <td align=right>Auto Kill:</td>
- <td> <input size=3 type='text' id='autokill' class="input8"></td>
+ <td> <input size=3 type='text' id='autokill' class="input8"></td>
</tr>
<tr> <td align=right><NOBR>Authentication Debugging:</NOBR></td>
- <td><input type='checkbox' id='authdebug'></td>
+ <td><input type='checkbox' id='authdebug'></td>
</tr>
<tr> <td align=right>Codec Priority:</td>
- <td> <select id="codecpriority" class="input8">
- <option value="caller">caller</option>
- <option value="host">host</option>
- <option value="disabled">disabled</option>
- <option value="reqonly">reqonly</option>
- </select>
- </td>
+ <td> <select id="codecpriority" class="input8">
+ <option value="caller">caller</option>
+ <option value="host">host</option>
+ <option value="disabled">disabled</option>
+ <option value="reqonly">reqonly</option>
+ </select>
+ </td>
</tr>
<tr> <td align=right>Type of Service:</td>
- <td> <select size=1 id="tos" class="input8">
- <option value='ef'>ef</option>
- <option value='CS0'>CS0</option>
- <option value='CS1'>CS1</option>
- <option value='CS2'>CS2</option>
- <option value='CS3'>CS3</option>
- <option value='CS4'>CS4</option>
- <option value='CS5'>CS5</option>
- <option value='CS6'>CS6</option>
- <option value='CS7'>CS7</option>
- <option value='AF11'>AF11</option>
- <option value='AF12'>AF12</option>
- <option value='AF13'>AF13</option>
- <option value='AF21'>AF21</option>
- <option value='AF22'>AF22</option>
- <option value='AF23'>AF23</option>
- <option value='AF31'>AF31</option>
- <option value='AF32'>AF32</option>
- <option value='AF33'>AF33</option>
- <option value='AF41'>AF41</option>
- <option value='AF42'>AF42</option>
- <option value='AF43'>AF43</option>
- </select>
- </td>
+ <td> <select size=1 id="tos" class="input8">
+ <option value='ef'>ef</option>
+ <option value='CS0'>CS0</option>
+ <option value='CS1'>CS1</option>
+ <option value='CS2'>CS2</option>
+ <option value='CS3'>CS3</option>
+ <option value='CS4'>CS4</option>
+ <option value='CS5'>CS5</option>
+ <option value='CS6'>CS6</option>
+ <option value='CS7'>CS7</option>
+ <option value='AF11'>AF11</option>
+ <option value='AF12'>AF12</option>
+ <option value='AF13'>AF13</option>
+ <option value='AF21'>AF21</option>
+ <option value='AF22'>AF22</option>
+ <option value='AF23'>AF23</option>
+ <option value='AF31'>AF31</option>
+ <option value='AF32'>AF32</option>
+ <option value='AF33'>AF33</option>
+ <option value='AF41'>AF41</option>
+ <option value='AF42'>AF42</option>
+ <option value='AF43'>AF43</option>
+ </select>
+ </td>
</tr>
<tr> <td colspan=2><B>Realtime IAX Options</B></td></tr>
<tr> <td align=right>Cache Friends:</td>
- <td><input type='checkbox' id='rtcachefriends'></td>
+ <td><input type='checkbox' id='rtcachefriends'></td>
</tr>
<tr> <td align=right>Send Registry Updates:</td>
- <td><input type='checkbox' id='rtupdate'></td>
+ <td><input type='checkbox' id='rtupdate'></td>
</tr>
<tr> <td align=right>Auto-Expire Friends:</td>
- <td><input type='checkbox' id='rtautoclear'></td>
+ <td><input type='checkbox' id='rtautoclear'></td>
</tr>
<tr> <td align=right>Ignore Expired Peers:</td>
- <td><input type='checkbox' id='rtignoreexpire'></td>
+ <td><input type='checkbox' id='rtignoreexpire'></td>
</tr>
<tr> <td colspan=2><B> Codecs</B></td></tr>
<tr> <td align=right>Disallowed Codecs:</td>
- <td> <input type='text' id='disallow' class="input8" size=9></td>
+ <td> <input type='text' id='disallow' class="input8" size=9></td>
</tr>
<tr> <td align=right>Allowed Codecs:</td>
- <td> <input type='text' id='allow' class="input8" size=9><input type=button id="sd" value="Edit" onclick="update_div_setordercodecs()"></td>
+ <td> <input type='text' id='allow' class="input8" size=9><input type=button id="sd" value="Edit" onclick="update_div_setordercodecs()"></td>
</tr>
</table>
</div>
@@ -372,7 +373,7 @@
</tr>
<tr><td><select id="allowed" size=9 class="input8"></select></td>
<td> <input type="button" id="select_codec" value="<" onclick="enable_selectedcodec()">
- <BR><input type="button" id="deselect_codec" value=">" onclick="disable_selectedcodec()"></td>
+ <BR><input type="button" id="deselect_codec" value=">" onclick="disable_selectedcodec()"></td>
<td> <select id="disallowed" size=9 class="input8"></select></td>
</tr>
<tr><td></td>
Modified: trunk/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/incoming.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/incoming.html (original)
+++ trunk/config/incoming.html Wed Mar 21 01:37:00 2007
@@ -133,7 +133,7 @@
}
if( crt.rows.length == 0){
- $('table_one').style.display="none";
+ _$('table_one').style.display="none";
var newRow = crt.insertRow(-1);
var newCell0 = newRow.insertCell(0);
newCell0 .align = "center";
Modified: trunk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/localexts.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/localexts.html (original)
+++ trunk/config/localexts.html Wed Mar 21 01:37:00 2007
@@ -75,7 +75,6 @@
}
parent.loadscreen(this);
}
-
function localajaxinit(){
Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Wed Mar 21 01:37:00 2007
@@ -272,17 +272,14 @@
_nsv.focus();
return;
}
-
- var _sm = _$('status_message').style;
- _sm.display = "";
-
+ _$('status_message').style.display = "";
// prepare a request to add the new step to the voicemenu
// make a request to append
var opt = {
method: 'get',
asynchronous: true,
onSuccess: function() {
- setTimeout(function(){ _sm.display = 'none'; },sc_displaytime);
+ setTimeout(function(){ _$('status_message').style.display = 'none'; },sc_displaytime);
// if request successfull then add this to the steps select box
var newoption = document.createElement("option");
newoption.text = format_step(action_string );
@@ -312,7 +309,7 @@
_nsvd.style.display= "none" ;
},
onFailure: function(t) {
- _sm.display = 'none';
+ _$('status_message').style.display = 'none';
gui_alert("Config Error: " + t.status + ": " + t.statusText);
}
};
@@ -395,16 +392,14 @@
if (!check_patternonfields( [ 'comment', 'newstep_var_digit' ] ) ){
return false;
}
-
- var _sm = _$('status_message').style ;
- _sm.display ="" ;
+ _$('status_message').style.display ="" ;
var _cmv = _$('comment').value ;
var opt = {
method: 'get',
asynchronous: true,
onSuccess: function() {
- setTimeout( function(){ _sm.display="none"; },sc_displaytime );
+ setTimeout( function(){_$('status_message').style.display="none"; },sc_displaytime );
_$('status').innerHTML = "<i>Updated.</i>";
_$('savevmenu').disabled = true;
_$('save').disabled = true;
@@ -446,7 +441,7 @@
},
onFailure: function(t) {
- _sm.display='none';
+ _$('status_message').style.display='none';
gui_alert("Config Error: " + t.status + ": " + t.statusText);
}
};
@@ -640,8 +635,7 @@
function delete_step(){
// delete the selected step and update voicemenusdata and update 'select' object - steps
- var _sm = _$('status_message').style;
- _sm.display="";
+ _$('status_message').style.display="";
var _vmenus = _$('vmenus');
var _steps = _$('steps');
@@ -649,21 +643,19 @@
method: 'get',
asynchronous: true,
onSuccess: function() {
- setTimeout(function(){ _sm.display='none';} ,sc_displaytime);
+ setTimeout(function(){ _$('status_message').style.display='none';} ,sc_displaytime);
// Update voicemenusdata
for(var p=0; p< voicemenusdata[_vmenus.value].extensions['s'].length; p++){
if( voicemenusdata[_vmenus.value].extensions['s'][p] == _steps.value ){
voicemenusdata[_vmenus.value].extensions['s'].splice(p,1);
}
}
-
_steps.remove( _steps.selectedIndex);
_$('status').innerHTML = "<i>Step Deleted !</i>";
_$('deletestep').disabled = true;
-
},
onFailure: function(t) {
- _sm.display='none';
+ _$('status_message').style.display='none';
gui_alert("Config Error: " + t.status + ": " + t.statusText);
}
};
@@ -766,7 +758,7 @@
current_key_exts='keypress_'+ keys[y] + '_exts';
current_key_menus='keypress_'+ keys[y] + '_menus';
- _$(current_key_action).options.selectedIndex = -1;
+ _$(current_key_action).options.selectedIndex = 0;
_$(current_key_menus).style.display = "none";
_$(current_key_text).style.display = "none";
_$(current_key_exts).style.display = "none";
Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Wed Mar 21 01:37:00 2007
@@ -465,9 +465,7 @@
numplan_callbacks.loaded = function() {
var _extns = _$('extensions') ;
-
add_event( _extns , 'change', select_differentplan );
-
if( _extns.options.length ==0 ){
parent.loadscreen(this);
addthe_default_callingplan();
Modified: trunk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/options.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/options.html (original)
+++ trunk/config/options.html Wed Mar 21 01:37:00 2007
@@ -65,9 +65,8 @@
return true
}
- var _sm = $('status_message').style ;
- _sm.display ="";
- setTimeout(function(){ _sm.display ='none'; },3000);
+ _$('status_message').style.display ="";
+ setTimeout(function(){ _$('status_message').style.display ='none'; },3000);
var opt = {
method: 'get',
asynchronous: true,
@@ -75,7 +74,7 @@
update_guisettings_http();
},
onFailure: function(t) {
- _sm.display ='none';
+ _$('status_message').style.display ='none';
gui_alert("Config Error: " + t.status + ": " + t.statusText);
}
};
Modified: trunk/config/record.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/record.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/record.html (original)
+++ trunk/config/record.html Wed Mar 21 01:37:00 2007
@@ -111,13 +111,12 @@
}
function originate_recordrequest(should_save, newvmenu_ext, filename_torecord){
- var _sm = _$('status_message').style ;
- _sm.display="";
+ _$('status_message').style.display="";
var opt = {
method: 'get',
asynchronous: true,
onSuccess: function(t) {
- setTimeout( function(){ _sm.display='none'; },sc_displaytime);
+ setTimeout( function(){ _$('status_message').style.display='none'; },sc_displaytime);
if ( t.responseText.indexOf("Originate successfully queued") == -1 ){
// Request Failed
}else{
@@ -132,7 +131,7 @@
}
},
onFailure: function(t) {
- _sm.display='none';
+ _$('status_message').style.display='none';
gui_alert("Config Error: " + t.status + ": " + t.statusText);
}
};
Modified: trunk/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sysinfo.html?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- trunk/config/sysinfo.html (original)
+++ trunk/config/sysinfo.html Wed Mar 21 01:37:00 2007
@@ -41,19 +41,18 @@
}
function load_todayslog(){
- var _sm = _$('status_message').style ;
- _sm.display = "" ;
+ _$('status_message').style.display= "" ;
var opt = {
method: 'get',
asynchronous: true,
onComplete: function(originalRequest){
- _sm.display = 'none' ;
+ _$('status_message').style.display = 'none' ;
_$('todaylog').innerHTML = (originalRequest.responseText) ? "<PRE>"+originalRequest.responseText.escapeHTML() +"</PRE>" : "No log messages found on this Day" ;
},
onFailure: function(t) {
- _sm.display = 'none' ;
+ _$('status_message').style.display = 'none' ;
gui_alert("Config Error: " + t.status + ": " + t.statusText);
}
};
More information about the asterisk-gui-commits
mailing list