Author: bkruse
Date: Fri Oct 19 13:55:25 2007
New Revision: 1704
URL: http://svn.digium.com/view/asterisk-gui?view=rev&am
p;rev=1704
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:
branches/asterisknow/ (props changed)
branches/asterisknow/config/numberplan.html
Propchange: branches/asterisknow/
------------------------------------------------------------
------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: branches/asterisknow/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/br
anches/asterisknow/config/numberplan.html?view=diff&rev=
1704&r1=1703&r2=1704
============================================================
==================
--- branches/asterisknow/config/numberplan.html (original)
+++ branches/asterisknow/config/numberplan.html Fri Oct 19
13:55:25 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;});
}
}
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--
asterisk-gui-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-g
ui-commits
|