diff options
author | Peter Grassberger <petertheone@gmail.com> | 2015-12-28 12:31:29 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2015-12-28 12:31:29 (GMT) |
commit | 08d44278f8ac010b93f29cf1dff912f95b2b19ec (patch) | |
tree | fbac389607da1b57690234a8f21d91b2aabfd6fe /www/js | |
parent | cb39c5af79db63c721123d9f488eda0d9c4fda63 (diff) |
musicgrid requests now use correct get and post methods
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/rivendell.rh.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/www/js/rivendell.rh.js b/www/js/rivendell.rh.js index 7f92222..40b0824 100644 --- a/www/js/rivendell.rh.js +++ b/www/js/rivendell.rh.js @@ -49,20 +49,16 @@ Rivendell.Rivendell.prototype.addAndEditCut = function(cartNumber, options, succ // todo: addAndEditCart -// todo: get grid. musicgrid.cgi, username, pw, cmg(get,set), dow, hour, name Rivendell.Rivendell.prototype.getMusicgrid = function(success) { var command = { - COMMAND: 'get', LOGIN_NAME: this.username, PASSWORD: this.token }; - return $.post(this.musicgridEndpoint, command, success, "xml"); + return $.get(this.musicgridEndpoint, command, success, "xml"); }; -// todo: set grid pool Rivendell.Rivendell.prototype.setMusicgrid = function(dow, hour, name, success) { var command = { - COMMAND: 'set', LOGIN_NAME: this.username, PASSWORD: this.token, DOW: dow, |