mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
lrn2spl
This commit is contained in:
parent
7bb69d5ef4
commit
e7683642dd
@ -34,8 +34,8 @@ define(
|
||||
template: 'Wanted/Cutoff/CutoffUnmetLayoutTemplate',
|
||||
|
||||
regions: {
|
||||
cutoff: '#x-cutoff-unmet',
|
||||
toolbar: '#x-toolbar',
|
||||
cutoff : '#x-cutoff-unmet',
|
||||
toolbar : '#x-toolbar',
|
||||
pager : '#x-pager'
|
||||
},
|
||||
|
||||
@ -95,13 +95,13 @@ define(
|
||||
},
|
||||
|
||||
_showTable: function () {
|
||||
this.missingGrid = new Backgrid.Grid({
|
||||
this.cutoffGrid = new Backgrid.Grid({
|
||||
columns : this.columns,
|
||||
collection: this.collection,
|
||||
className : 'table table-hover'
|
||||
});
|
||||
|
||||
this.cutoff.show(this.missingGrid);
|
||||
this.cutoff.show(this.cutoffGrid);
|
||||
|
||||
this.pager.show(new GridPager({
|
||||
columns : this.columns,
|
||||
@ -185,7 +185,7 @@ define(
|
||||
},
|
||||
|
||||
_searchSelected: function () {
|
||||
var selected = this.missingGrid.getSelectedModels();
|
||||
var selected = this.cutoffGrid.getSelectedModels();
|
||||
|
||||
if (selected.length === 0) {
|
||||
Messenger.show({
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div id="x-toolbar"/>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="x-cuttof-unmet"/>
|
||||
<div id="x-cutoff-unmet"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
Loading…
Reference in New Issue
Block a user