diff options
Diffstat (limited to 'module/web/app/scripts/models/ServerStatus.js')
-rw-r--r-- | module/web/app/scripts/models/ServerStatus.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/app/scripts/models/ServerStatus.js b/module/web/app/scripts/models/ServerStatus.js index 9242bdf95..59739b41e 100644 --- a/module/web/app/scripts/models/ServerStatus.js +++ b/module/web/app/scripts/models/ServerStatus.js @@ -1,5 +1,6 @@ define(['jquery', 'backbone', 'underscore'], function($, Backbone, _) { + 'use strict'; return Backbone.Model.extend({ @@ -20,7 +21,7 @@ define(['jquery', 'backbone', 'underscore'], }, - fetch: function() { + fetch: function(options) { options || (options = {}); options.url = 'api/getServerStatus'; |