Skip to content

Commit 9eecb9e

Browse files
committed
Bugfix
1 parent e482b55 commit 9eecb9e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/js/controllers/ObjectCtrl.js

-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ function ObjectCtrl($s, $q, $params, FormSrvc, $state, $timeout, UtilSrvc) {
155155
if (action == 'save') {
156156
if (!$s.obj._id) {
157157
main.showBusyDimmer();
158-
UtilSrvc.convertDatestoJSONLocal($s.obj);
159158
return FormSrvc.newForm($s.obj, $params.form, main.authToken)
160159
.then(function(data) {
161160

@@ -180,7 +179,6 @@ function ObjectCtrl($s, $q, $params, FormSrvc, $state, $timeout, UtilSrvc) {
180179
});
181180
} else {
182181
main.showBusyDimmer();
183-
UtilSrvc.convertDatestoJSONLocal($s.obj);
184182
return FormSrvc.updateForm($s.obj._id, $s.obj, $params.form, main.authToken)
185183
.then(function() {
186184
$('#success-dimmer').dimmer('show');

0 commit comments

Comments
 (0)