diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-05 19:56:11 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-05 19:56:11 +0000 |
commit | 082038c155063f735c16c0b4e90af407c14eaf40 (patch) | |
tree | dc30b752d7f2c2418f720f75f50d753264319045 /static-http | |
parent | 06fe0544af7e150637782656370547a14350f443 (diff) |
Fix Javascript error when using astman.js in Internet Explorer.
Internet Explorer (tested with 7.0) does not like trailing commas on constructs
like object initializers, so get rid of them to avoid some errors.
(closes issue #15026)
Reported by: rajnishgiri
Patches:
bug15026.patch uploaded by seanbright (license 71)
Tested by: seanbright
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@192524 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'static-http')
-rw-r--r-- | static-http/astman.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static-http/astman.js b/static-http/astman.js index 81f896c1c..e00a2e055 100644 --- a/static-http/astman.js +++ b/static-http/astman.js @@ -238,7 +238,7 @@ function Astman() { onSuccess: this.managerResponse, onFailure: function(t) { alert("Error: " + t.status + ": " + t.statusText); - }, + } }; me.callback = callback; opt.parameters = request; @@ -252,7 +252,7 @@ function Astman() { onSuccess: this.eventResponse, onFailure: function(t) { alert("Event Error: " + t.status + ": " + t.statusText); - }, + } }; opt.parameters="action=waitevent"; tmp = new Ajax.Request(this.url, opt); |