Save changes/Cancel buttons not disabled on Chrome?

Save changes/Cancel buttons not disabled on Chrome?

door Leon Stringer -
Aantal antwoorden: 4
Foto van Core developers Foto van Particularly helpful Moodlers

As far as I can see the Save changes and Cancel buttons (on the add/edit submission page) should get disabled when either is clicked (MDL-38555). But as far as I can see this doesn't happen with Chrome but does happen with Firefox.

Because the Save changes button isn't disabled the student can click it twice and if so gets the error:

You have existing submission data. Please leave this page and try again.

Given the popularity of Chrome I was surprised by this but couldn't find any reports here or in the Tracker.

Please could someone with both Chrome and Firefox try this and confirm if this a general problem rather than an issue with my set-up.
Gemiddelde van de beoordelingen:  -
Als antwoord op Leon Stringer

Re: Save changes/Cancel buttons not disabled on Chrome?

door Helen Foster -
Foto van Core developers Foto van Documentation writers Foto van Moodle HQ Foto van Particularly helpful Moodlers Foto van Plugin developers Foto van Testers Foto van Translators

Hi Leon,

I tried as a student adding or editing an assignment submission and clicking the Save changes or Cancel button. In each case, after clicking the button, I was returned to the view assignment page. The behaviour was the same in Firefox and in Chrome.

Gemiddelde van de beoordelingen:  -
Als antwoord op Helen Foster

Re: Save changes/Cancel buttons not disabled on Chrome?

door Leon Stringer -
Foto van Core developers Foto van Particularly helpful Moodlers

Thanks for checking. But could you click Save changes twice by double clicking on the button? In both browsers?

Gemiddelde van de beoordelingen:  -
Als antwoord op Leon Stringer

Re: Save changes/Cancel buttons not disabled on Chrome?

door Leon Stringer -
Foto van Core developers Foto van Particularly helpful Moodlers

Reported this as MDL-81146.

Gemiddelde van de beoordelingen:  -
Als antwoord op Leon Stringer

Re: Save changes/Cancel buttons not disabled on Chrome?

door Helen Foster -
Foto van Core developers Foto van Documentation writers Foto van Moodle HQ Foto van Particularly helpful Moodlers Foto van Plugin developers Foto van Testers Foto van Translators

Aha, so I wasn't quick enough when I tried previously! I can indeed reproduce the problem in Chrome by double clicking. Thanks for reporting the issue in the Moodle Tracker. Ja

Gemiddelde van de beoordelingen:  -