Update workPackage.form after form is loaded

pull/3753/head
Alex Dik 9 years ago
parent 126e1b7964
commit e70d00facf
  1. 1
      frontend/app/components/inplace-edit/services/inplace-edit-storage.service.js

@ -69,6 +69,7 @@ function inplaceEditStorage($q, $rootScope, EditableFieldsState, WorkPackageServ
WorkPackageService.loadWorkPackageForm(EditableFieldsState.workPackage)
.then(function(form) {
inplaceEdit.form(EditableFieldsState.workPackage.props.id).resource.form = form;
EditableFieldsState.workPackage.form = form;
if (_.isEmpty(form.embedded.validationErrors.props)) {
deferred.resolve(form);

Loading…
Cancel
Save