Diffstat (limited to 'frontend/beta/js/Clipperz/PM/DataModel/Record.js') (more/less context) (ignore whitespace changes)
-rw-r--r-- | frontend/beta/js/Clipperz/PM/DataModel/Record.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/frontend/beta/js/Clipperz/PM/DataModel/Record.js b/frontend/beta/js/Clipperz/PM/DataModel/Record.js index 9e496de..d6ebb39 100644 --- a/frontend/beta/js/Clipperz/PM/DataModel/Record.js +++ b/frontend/beta/js/Clipperz/PM/DataModel/Record.js | |||
@@ -645,11 +645,13 @@ console.log("Record.processData - currentVersionParameters", currentVersionParam | |||
645 | 'saveChanges': function() { | 645 | 'saveChanges': function() { |
646 | var result; | 646 | var result; |
647 | 647 | ||
648 | if (this.isBrandNew() == false) { | 648 | // if (this.isBrandNew() == false) { |
649 | result = this.user().saveRecords([this], 'updateData'); | 649 | // result = this.user().saveRecords([this], 'updateData'); |
650 | } else { | 650 | // } else { |
651 | result = this.user().saveRecords([this], 'addNewRecords'); | 651 | // result = this.user().saveRecords([this], 'addNewRecords'); |
652 | } | 652 | // } |
653 | |||
654 | result = this.user().saveRecords([this]); | ||
653 | 655 | ||
654 | return result; | 656 | return result; |
655 | }, | 657 | }, |