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

@ -6,7 +6,7 @@ define(function () {
$(this).typeahead({
source : function (filter, callback) {
$.ajax({
url : window.ApiRoot + resource,
url : window.NzbDrone.ApiRoot + resource,
dataType: 'json',
type : 'GET',
data : { query: filter },