pari: trunk r1284 - /trunk/config/users.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Aug 1 14:55:46 CDT 2007
Author: pari
Date: Wed Aug 1 14:55:46 2007
New Revision: 1284
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1284
Log:
BugFix: http://bugs.digium.com/view.php?id=10173
Set a default value of 'all' to "disallow" and "allow" fields for new users.
Modified:
trunk/config/users.html
Modified: trunk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?view=diff&rev=1284&r1=1283&r2=1284
==============================================================================
--- trunk/config/users.html (original)
+++ trunk/config/users.html Wed Aug 1 14:55:46 2007
@@ -90,6 +90,8 @@
var x;
var _devices = _$('devices');
gen = _devices.stored_config.catbyname['general'];
+ gen.fieldbyname['allow'] = 'all';
+ gen.fieldbyname['disallow'] = 'all';
tmp = objcopy(gen);
if (gen){
x = gen.fieldbyname['userbase'];
@@ -316,6 +318,7 @@
update_div_setordercodecs:function(){
_$('disallowed').innerHTML=""; _$('allowed').innerHTML="";
+ if( _$('disallow').value == "all" && _$('allow').value =="all" ){ return true;}
if( _$('disallow').value == "all" ){
this.selectbox_add(_$("disallowed"), "ulaw");
this.selectbox_add(_$("disallowed"), "alaw");
More information about the asterisk-gui-commits
mailing list