Log details

New: Logs now have details available
This commit is contained in:
Mark McDowall
2013-10-31 23:15:15 -07:00
parent 436644318b
commit e7ac2247ab
12 changed files with 78 additions and 12 deletions

View File

@@ -0,0 +1,19 @@
'use strict';
define(
[
'vent',
'backgrid'
], function (vent, Backgrid) {
return Backgrid.Row.extend({
className: 'log-row',
events: {
'click': '_showDetails'
},
_showDetails: function () {
vent.trigger(vent.Commands.ShowLogDetails, { model: this.model });
}
});
});