adjusted PR 3464 for V8
This commit is contained in:
@@ -54,6 +54,3 @@
|
||||
angular.module('umbraco.directives').directive('umbCheckbox', CheckboxDirective);
|
||||
|
||||
})();
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user