This commit is contained in:
Mark McDowall 2014-05-12 15:46:37 -07:00
parent 7bb69d5ef4
commit e7683642dd
2 changed files with 7 additions and 7 deletions

View File

@ -34,9 +34,9 @@ define(
template: 'Wanted/Cutoff/CutoffUnmetLayoutTemplate', template: 'Wanted/Cutoff/CutoffUnmetLayoutTemplate',
regions: { regions: {
cutoff: '#x-cutoff-unmet', cutoff : '#x-cutoff-unmet',
toolbar: '#x-toolbar', toolbar : '#x-toolbar',
pager : '#x-pager' pager : '#x-pager'
}, },
ui: { ui: {
@ -95,13 +95,13 @@ define(
}, },
_showTable: function () { _showTable: function () {
this.missingGrid = new Backgrid.Grid({ this.cutoffGrid = new Backgrid.Grid({
columns : this.columns, columns : this.columns,
collection: this.collection, collection: this.collection,
className : 'table table-hover' className : 'table table-hover'
}); });
this.cutoff.show(this.missingGrid); this.cutoff.show(this.cutoffGrid);
this.pager.show(new GridPager({ this.pager.show(new GridPager({
columns : this.columns, columns : this.columns,
@ -185,7 +185,7 @@ define(
}, },
_searchSelected: function () { _searchSelected: function () {
var selected = this.missingGrid.getSelectedModels(); var selected = this.cutoffGrid.getSelectedModels();
if (selected.length === 0) { if (selected.length === 0) {
Messenger.show({ Messenger.show({

View File

@ -1,7 +1,7 @@
<div id="x-toolbar"/> <div id="x-toolbar"/>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div id="x-cuttof-unmet"/> <div id="x-cutoff-unmet"/>
</div> </div>
</div> </div>
<div class="row"> <div class="row">