Log file changes

New: Update log files are available in the UI
Fixed: UI error after clearing log files
This commit is contained in:
Mark McDowall 2014-06-24 16:52:07 -07:00
parent 66873b04d4
commit f5d46ffcd2
20 changed files with 282 additions and 85 deletions

View file

@ -1,12 +1,11 @@
'use strict';
define(
[
'backbone',
'System/StatusModel'
], function (Backbone, StatusModel) {
'backbone'
], function (Backbone) {
return Backbone.Model.extend({
url: function () {
return StatusModel.get('urlBase') + '/api/log/file/' + this.get('filename');
return this.get('contentsUrl');
},
parse: function (contents) {