Fix up syntax error in JS from my merge/port upto V8 - oops :(
This commit is contained in:
@@ -28,12 +28,11 @@
|
||||
vm.saveError = false;
|
||||
vm.saveSuccces = false;
|
||||
var selectedString = [];
|
||||
angular.forEach(notifyOptions,
|
||||
function(option) {
|
||||
angular.forEach(notifyOptions, function (option) {
|
||||
if (option.checked === true && option.notifyCode) {
|
||||
selectedString.push(option.notifyCode);
|
||||
}
|
||||
console.log('selectedString', selectedString);
|
||||
})
|
||||
|
||||
contentResource.setNotifySettingsById($scope.currentNode.id, selectedString).then(function () {
|
||||
vm.saveState = "success";
|
||||
@@ -46,4 +45,4 @@
|
||||
onInit();
|
||||
}
|
||||
angular.module("umbraco").controller("Umbraco.Editors.Content.CreateNotifyController", CreateNotifyController);
|
||||
}());
|
||||
}());
|
||||
Reference in New Issue
Block a user