mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-30 19:45:57 +00:00
20 lines
411 B
JavaScript
20 lines
411 B
JavaScript
|
'use strict';
|
||
|
define(
|
||
|
[
|
||
|
'app',
|
||
|
'backgrid'
|
||
|
], function (App, Backgrid) {
|
||
|
|
||
|
return Backgrid.Row.extend({
|
||
|
className: 'log-file-row',
|
||
|
|
||
|
events: {
|
||
|
'click': '_showContents'
|
||
|
},
|
||
|
|
||
|
_showContents: function () {
|
||
|
App.vent.trigger(App.Commands.ShowLogFile, { model: this.model });
|
||
|
}
|
||
|
});
|
||
|
});
|