added global NzbDrone namespace.

This commit is contained in:
kay.one 2013-09-14 00:10:19 -07:00
parent d5e5d6de29
commit 27c57612f4
30 changed files with 36 additions and 35 deletions

View file

@ -4,7 +4,7 @@ define(
'backbone'
], function (Backbone) {
return Backbone.Model.extend({
url: window.ApiRoot + '/command',
url: window.NzbDrone.ApiRoot + '/command',
parse: function (response) {
response.name = response.name.toLocaleLowerCase();