diff options
| author | 2013-06-09 16:08:59 +0200 | |
|---|---|---|
| committer | 2013-06-09 16:08:59 +0200 | |
| commit | ecfef4a560dece9dd911017efdfc63fcc04bedfc (patch) | |
| tree | 42d00f155c47a8a80e3a023c841a59f87b73885c /module/web/app/scripts/app.js | |
| parent | restructured webui to single-page-app, removed jinja (diff) | |
| download | pyload-ecfef4a560dece9dd911017efdfc63fcc04bedfc.tar.xz | |
adapted to jshint config
Diffstat (limited to 'module/web/app/scripts/app.js')
| -rw-r--r-- | module/web/app/scripts/app.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/module/web/app/scripts/app.js b/module/web/app/scripts/app.js index f841c9393..427cb1bc8 100644 --- a/module/web/app/scripts/app.js +++ b/module/web/app/scripts/app.js @@ -50,10 +50,10 @@ define([      App.apiRequest = function(method, data, options) {          options || (options = {});          options.url = App.apiUrl('api/' + method); -        options.dataType = "json"; +        options.dataType = 'json';          if (data) { -            options.type = "POST"; +            options.type = 'POST';              options.data = {};              // Convert arguments to json              _.keys(data).map(function(key) { | 
