mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
HeaderCell is a standard mixin
This commit is contained in:
parent
85f6d90f40
commit
aa9df49ea2
@ -1,4 +1,6 @@
|
||||
module.exports.register = function(backgrid) {
|
||||
module.exports = function() {
|
||||
var backgrid = this;
|
||||
|
||||
backgrid.SonarrHeaderCell = backgrid.HeaderCell.extend({
|
||||
events : {
|
||||
'click' : 'onClick'
|
||||
@ -109,4 +111,6 @@ module.exports.register = function(backgrid) {
|
||||
this.$el.children('i').removeClass('icon-sort-up icon-sort-down');
|
||||
}
|
||||
});
|
||||
|
||||
return backgrid.SonarrHeaderCell;
|
||||
};
|
||||
|
@ -1,12 +1,9 @@
|
||||
require('../JsLibraries/backbone.backgrid');
|
||||
require('backbone');
|
||||
|
||||
require('backbone');
|
||||
|
||||
var backgrid = require('../JsLibraries/backbone.backgrid');
|
||||
var header = require('../Shared/Grid/HeaderCell');
|
||||
|
||||
header.register(backgrid);
|
||||
header.call(backgrid);
|
||||
|
||||
backgrid.Column.prototype.defaults = {
|
||||
name : undefined,
|
||||
|
@ -1,8 +1,5 @@
|
||||
require('backgrid');
|
||||
require('backbone');
|
||||
require('../JsLibraries/backbone.backgrid.paginator');
|
||||
|
||||
require('backbone');
|
||||
var backgrid = require('backgrid');
|
||||
require('../JsLibraries/backbone.backgrid.paginator');
|
||||
|
||||
module.exports = backgrid.Extension.Paginator;
|
Loading…
Reference in New Issue
Block a user