adjusted PR 3464 for V8

This commit is contained in:
Niels Lyngsø
2019-03-04 14:39:49 +01:00
parent 58ce528324
commit d3904086f0
3 changed files with 2 additions and 5 deletions

View File

@@ -54,6 +54,3 @@
angular.module('umbraco.directives').directive('umbCheckbox', CheckboxDirective);
})();

View File

@@ -64,7 +64,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.CheckboxListContro
}
function changed(item) {
debugger;
var index = _.findIndex($scope.model.value,
function (v) {
return v === item.val;

View File

@@ -2,7 +2,7 @@
<ul class="unstyled">
<li ng-repeat="item in selectedItems track by item.key">
<umb-checkbox name="checkboxlist" value="{{item.key}}" model="item" text="{{item.val}}" onChange="changed(item)"></umb-checkbox>
<umb-checkbox name="checkboxlist" value="{{item.key}}" model="item" text="{{item.val}}" on-change="changed(item)"></umb-checkbox>
</li>
</ul>