Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithpassion committed Oct 6, 2014
1 parent 507b75e commit be6b995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
self.branches = ko.observableArray();
self.isSaved = ko.observable(false);

self.changed = function() {
self.changeSelectedBranches = function() {
var selected = [];
self.branches().forEach(function(branch) {
if (branch.selected() === true) {
Expand Down Expand Up @@ -48,7 +48,7 @@
});
self.branches.push({ name: branch, selected: ko.observable(branchConfig.length > 0)});
});
self.changedSelectedBranches();
self.changeSelectedBranches();
});
})
}
Expand Down
4 changes: 2 additions & 2 deletions src/system-plugins/software-update-alert/public/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<strong>Show updates for these branches:</strong>
<div data-bind="foreach: branches">
<label>
<input type="checkbox" data-bind="value: name, checked: selected, click: $root.changedSelectedBranches">
<span data-bind="text: name, click: $root.changedSelectedBranches"></span>
<input type="checkbox" data-bind="value: name, checked: selected, click: $root.changeSelectedBranches">
<span data-bind="text: name, click: $root.changeSelectedBranches"></span>
</label>
</div>
<span data-bind="fadeVisible: { value: $data.isSaved, fadeIn: false} "><i class="icon-ok" title="Saved!"></i> Saved!</span>
Expand Down

0 comments on commit be6b995

Please sign in to comment.