mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
rjs -> webpack
This commit is contained in:
@@ -1,19 +1,10 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'vent',
|
||||
'backgrid'
|
||||
], function (vent, Backgrid) {
|
||||
var vent = require('../../../vent');
|
||||
var Backgrid = require('backgrid');
|
||||
|
||||
return Backgrid.Row.extend({
|
||||
className: 'log-row',
|
||||
|
||||
events: {
|
||||
'click': '_showDetails'
|
||||
},
|
||||
|
||||
_showDetails: function () {
|
||||
vent.trigger(vent.Commands.ShowLogDetails, { model: this.model });
|
||||
}
|
||||
});
|
||||
});
|
||||
module.exports = Backgrid.Row.extend({
|
||||
className : 'log-row',
|
||||
events : {"click" : '_showDetails'},
|
||||
_showDetails : function(){
|
||||
vent.trigger(vent.Commands.ShowLogDetails, {model : this.model});
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user