Do not rebind content types on save errors

This commit is contained in:
Kenn Jacobsen
2020-07-27 11:41:41 +02:00
committed by Sebastiaan Janssen
parent 27ffa68ddf
commit 0aabc2f696

View File

@@ -100,10 +100,7 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, editorSt
self.handleSaveError({
showNotifications: args.showNotifications,
softRedirect: args.softRedirect,
err: err,
rebindCallback: function () {
rebindCallback.apply(self, [args.content, err.data]);
}
err: err
});
//update editor state to what is current