diff --git a/Dashboard/app/js/lib/controllers/device-controllers.js b/Dashboard/app/js/lib/controllers/device-controllers.js index d938bc673a..fe3305f61c 100644 --- a/Dashboard/app/js/lib/controllers/device-controllers.js +++ b/Dashboard/app/js/lib/controllers/device-controllers.js @@ -37,14 +37,6 @@ FLOW.deviceControl = Ember.ArrayController.create({ this.set('sortAscending', false); }, - allAreSelected: Ember.computed(function (key, value) { - if (arguments.length === 2) { - this.setEach('isSelected', value); - return value; - } - return !this.get('isEmpty') && this.everyProperty('isSelected', true); - }).property('@each.isSelected'), - atLeastOneSelected: Ember.computed(function () { return this.filterProperty('isSelected', true).get('length'); }).property('@each.isSelected'), diff --git a/Dashboard/app/js/templates/navDevices/devices-list-tab/devices-list.handlebars b/Dashboard/app/js/templates/navDevices/devices-list-tab/devices-list.handlebars index 4a31ebbcb0..e51689cfd6 100644 --- a/Dashboard/app/js/templates/navDevices/devices-list-tab/devices-list.handlebars +++ b/Dashboard/app/js/templates/navDevices/devices-list-tab/devices-list.handlebars @@ -24,9 +24,8 @@ - {{#view FLOW.ColumnView item="select" }} - {{view Ember.Checkbox checkedBinding="FLOW.deviceControl.allAreSelected"}} - {{/view}} + + {{#view FLOW.ColumnView item="select" class="noArrows"}}{{/view}} {{#view FLOW.ColumnView item="IMEI" type="device"}} {{t _imei}} {{tooltip _imei_tooltip}} {{/view}} {{#view FLOW.ColumnView item="deviceIdentifier" type="device"}} {{t _device_id}} {{/view}} {{#view FLOW.ColumnView item="deviceGroup" type="device"}} {{t _device_group}} {{/view}}