mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 17:43:49 -07:00
UI Cleanup - Updated Shared and Shims subtrees.
This commit is contained in:
parent
019525dd9d
commit
d6079a701c
39 changed files with 686 additions and 448 deletions
|
@ -1,15 +1,15 @@
|
|||
var $ = require('jquery');
|
||||
|
||||
module.exports = {
|
||||
get : function(resource){
|
||||
get : function(resource) {
|
||||
var url = window.NzbDrone.ApiRoot + '/' + resource;
|
||||
var _data;
|
||||
$.ajax({
|
||||
url : url,
|
||||
async : false
|
||||
}).done(function(data){
|
||||
}).done(function(data) {
|
||||
_data = data;
|
||||
}).error(function(xhr, status, error){
|
||||
}).error(function(xhr, status, error) {
|
||||
throw error;
|
||||
});
|
||||
return _data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue