• disable the login button when it is clicked

    By Mark Leusink 1 decade ago

    Or on enter in the username/ password fields.

    • Next release have this function

      By F. Kranenburg 1 decade ago

      Great idea Mark and so easy to implement...  Grijns

      • ... and make it look like it is disabled

        By Mark Leusink 1 decade ago

        Ferry,

        The button is now disabled using

        dojo.byId("id").disabled = true;

        If you change this to:

        dijit.byId("id").attr("disabled", true);

        the button will also get a "disabled" style after clicking it. The difference between dojo.byId and dijit.byId is that the first method retrieves a DOM node and the 2nd the dijit widget.

        Mark

        • Thanks,it's fixed in version 1.5.2

          By F. Kranenburg 1 decade ago

          See subject.