bkruse: trunk r1703 - in /trunk: ./ config/numberplan.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Oct 19 13:55:01 CDT 2007
Author: bkruse
Date: Fri Oct 19 13:55:01 2007
New Revision: 1703
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1703
Log:
Merged revisions 1702 via svnmerge from
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4
........
r1702 | bkruse | 2007-10-19 13:54:29 -0500 (Fri, 19 Oct 2007) | 1 line
as siya pointed out, make sure we alert the user when we add and delete the parking lot for a context (or numberplan/'dialplan') closes 11022
........
Modified:
trunk/ (props changed)
trunk/config/numberplan.html
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=1703&r1=1702&r2=1703
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Fri Oct 19 13:55:01 2007
@@ -39,12 +39,16 @@
var np_oldselect;
function update_parkedcalls() {
+ var _exten = _$('extensions').innerHTML;
+ var _context = _$('extensions').value;
if(_$("parked").checked) {
- var uri = build_action('append', 0, _$('extensions').value, "include", "parkedcalls");
+ gui_feedback("Parking lots now added for Dialplan: " + _exten + " context: " + _context, 'blue');
+ var uri = build_action('append', 0, _exten, "include", "parkedcalls");
makerequest('u', 'extensions.conf', uri, function(t) { return true;});
}
if(!_$("parked").checked) {
- var uri = build_action('delete', 0, _$('extensions').value, "include", "", "parkedcalls");
+ gui_feedback("Parking lots now deleted for Dialplan: " + _exten + " context: " + _context);
+ var uri = build_action('delete', 0, _exten, "include", "", "parkedcalls");
makerequest('u', 'extensions.conf', uri, function(t) { return true;});
}
}
More information about the asterisk-gui-commits
mailing list