Merge branch 'master' into ace-editor

This commit is contained in:
Alexander Zobnin
2017-08-24 12:37:18 +03:00
18 changed files with 449 additions and 123 deletions

View File

@@ -122,7 +122,7 @@ function (angular, _, coreModule) {
vm.selectValue = function(option, event, commitChange, excludeOthers) {
if (!option) { return; }
option.selected = !option.selected;
option.selected = vm.variable.multi ? !option.selected: true;
commitChange = commitChange || false;
excludeOthers = excludeOthers || false;