Ignore:
Timestamp:
03/08/14 22:51:23 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Mark content as dirty to prevent moving away from unsaved data.
  • Better change propagation from lists and our own widgets.
  • Generate notifications for errors and show correct message.
  • Moved all path/url generation to the class stores, not everywhere we use it.
  • Give user always a choice between Save and Save & Close.
  • Better refresh behaviour on form changes and saves.
  • Don't generate duplicate code error when existing object is the one you're storing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/model/classes/surveys.js

    r487 r490  
    2626                obj.publicationDate = stamp.toISOString(obj.publicationDate);
    2727            }
     28        },
     29        getPreviewPath: function(idOrObj) {
     30            return '/previewSurvey/'+(typeof idOrObj === "string"?
     31                                      idOrObj :
     32                                      this.getId(idOrObj));
    2833        }
    2934    });
Note: See TracChangeset for help on using the changeset viewer.