Ignore:
Timestamp:
12/04/12 17:36:50 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Don't create new documents before editing them, because
our validation will reject them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/pages/sessions.js

    r410 r416  
    5858        },
    5959        onAddSessionTemplate: function(){
    60             store.put({
    61                 type: 'SessionTemplate'
    62             })
    63             .then(lang.hitch(this,function(obj){
    64                 Router.go('/session/'+store.getIdentity(obj));
    65             }));
     60            Router.go('/session/new');
    6661        },
    6762        _publishSession: function(sessionTemplate) {
Note: See TracChangeset for help on using the changeset viewer.