remove merge remains

pull/3701/head
Jens Ulferts 9 years ago
parent 5c7e8ae72c
commit 35906c1a00
  1. 4
      frontend/app/work_packages/services/editable-fields-state.js

@ -44,11 +44,11 @@ module.exports = function($q, $rootScope) {
return form.pendingChanges = form.pendingChanges || angular.copy(form.embedded.payload.props); return form.pendingChanges = form.pendingChanges || angular.copy(form.embedded.payload.props);
}, },
save: function (notify, callback) { save: function (callback) {
// We have to ensure that some promises are executed earlier then others // We have to ensure that some promises are executed earlier then others
var promises = []; var promises = [];
angular.forEach(this.submissionPromises, function(field) { angular.forEach(this.submissionPromises, function(field) {
var p = field.thePromise.call(this, notify); var p = field.thePromise.call(this);
promises[field.prepend ? 'unshift' : 'push' ](p); promises[field.prepend ? 'unshift' : 'push' ](p);
}); });

Loading…
Cancel
Save