Ignore:
Timestamp:
02/14/12 18:22:25 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • Clear LoginDialog? on show (in case of re-show).
  • Allow to link nodes/widgets to rft.ui.Page members with data-rft-attach-point attribute.
  • Allow arguments to a page to be passed with data-rft-props argument. Content loader rft.content sets this argument on the top node of a loaded page.
  • Have longer cookie-lifetime and update cookie when session is restored. Allow session restore in API and client code.
  • Moved startup Javascript to rft/run.js.
File:
1 edited

Legend:

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

    r256 r260  
    88            title: "Login",
    99            baseClass: "rftLoginDialog",
     10            show: function() {
     11                this.loginErrors.innerHTML = '';
     12                this.loginForm.reset();
     13                this.inherited(arguments);
     14            },
    1015            onLogin: function() {
    1116                this.loginErrors.innerHTML = '';
     
    1520                .then(function() {
    1621                    hide();
    17                     content.initial("sessions");
     22                    content.initial();
    1823                },function() {
    1924                    this.loginErrors.innerHTML = 'Login failed.';
Note: See TracChangeset for help on using the changeset viewer.