Skip to content

Commit

Permalink
Merge branch 'develop' into release/1.6.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
iperdomo committed Nov 7, 2013
2 parents ac0e686 + 8561071 commit 329a9b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dashboard/app/js/lib/views/devices/survey-bootstrap-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ FLOW.SurveyBootstrap = FLOW.View.extend({
},

selectAllSurveys: function () {
var selected = Ember.A([]);
FLOW.surveyControl.get('content').forEach(function (item) {
selected.pushObject(item);
var selected = FLOW.surveyControl.get('content').filter(function (item) {
return item.get('status') === "PUBLISHED";
});
FLOW.selectedControl.set('selectedSurveys', selected);
FLOW.selectedControl.set('selectedSurveys', selected);
},

deselectAllSurveys: function () {
Expand Down

0 comments on commit 329a9b3

Please sign in to comment.