diff options
-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, |