Skip to content

Commit 2a83f57

Browse files
authored
Do not re-map schedule modal on error as it leads to broken bindings (#17990)
1 parent 5be9193 commit 2a83f57

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,6 @@
924924
formHelper.showNotifications(err.data);
925925
}
926926
model.submitButtonState = "error";
927-
//re-map the dialog model since we've re-bound the properties
928-
dialog.variants = Utilities.copy($scope.content.variants);
929927
handleHttpException(err);
930928
});
931929

0 commit comments

Comments
 (0)