Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-27806

Disable buttons and show spinner on button click of Site Info -> Manage Groups UIs

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0, 11.0
    • Fix Version/s: 10.3, 11.0
    • Component/s: Site Info
    • Labels:
    • 10 status:
      Resolved

      Description

      The save/cancel buttons on all the Groups UIs aren't disabled on initial click, which can result in impatient users clicking multiple times.

      The attached patch simply disables the buttons on click and displays a spinner to notify the user of progress.

      I had to take the approach of cloning the buttons, hiding the original and disabling the clones, because if you disable the actual submit buttons, the form will not be submitted. The spinner icon should be added to the reference project so it can be used by all other projects, rather than having an instance of the spinner gif in every project that wants to use it.

      The patch also renames some of the button labels for consistency; previously some were called 'Add', others were called 'Update', etc.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  bjones86 Brian Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration