pari: branch 2.0 r4076 - /branches/2.0/config/incoming.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Nov 7 11:38:45 CST 2008
Author: pari
Date: Fri Nov 7 11:38:44 2008
New Revision: 4076
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4076
Log:
Better Fix for : ASTGUI-47, C.2.1.2 GUI Fails to change time interval on existing incoming call rules
Modified:
branches/2.0/config/incoming.html
Modified: branches/2.0/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/incoming.html?view=diff&rev=4076&r1=4075&r2=4076
==============================================================================
--- branches/2.0/config/incoming.html (original)
+++ branches/2.0/config/incoming.html Fri Nov 7 11:38:44 2008
@@ -87,14 +87,11 @@
var tmp_edit_itrl_tf = EDIT_CONTEXT_IR.afterStr( ASTGUI.contexts.TimeIntervalPrefix ) ;
- //$('.hideOnEdit').hide();
+ $('.hideOnEdit').hide();
_$('div_ir_edit_title').innerHTML = 'Edit Incoming Calling Rule, Trunk: ' + tmp_TRUNK + ' , Time Interval: ' + ( tmp_edit_itrl_tf || 'none' ) ;
ASTGUI.updateFieldToValue( 'edit_itrl_trunk', tmp_TRUNK ) ;
ASTGUI.updateFieldToValue( 'edit_itrl_tf', tmp_edit_itrl_tf ) ;
-
- _$('edit_itrl_trunk').disabled = true ;
- _$('edit_itrl_tf').disabled = true;
ASTGUI.updateFieldToValue( 'edit_itrl_pattern', ASTGUI.parseContextLine.getExten( EDIT_CONTEXT_IR_LINE ) );
$('.localext_byDid').hide();
@@ -344,8 +341,6 @@
ASTGUI.resetTheseFields(['edit_itrl_trunk', 'edit_itrl_tf', 'edit_itrl_pattern', 'edit_itrl_dest' ]);
incomingRules_MiscFunctions.enableDisablePattern();
$('.localext_byDid').hide();
- _$('edit_itrl_trunk').disabled = false ;
- _$('edit_itrl_tf').disabled = false;
_$('div_ir_edit_title').innerHTML = 'New Incoming Rule';
ASTGUI.feedback( { msg: 'New Incoming Rule !', showfor: 2 , color: 'green', bgcolor: '#FFFFFF' } );
$('.hideOnEdit').show();
More information about the asterisk-gui-commits
mailing list