Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28195

confirm_action should allow the button labels to be customised

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.1
    • 2.1
    • Libraries
    • None
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • Hide

      1. Check a place that currently uses confirm_action. For example clearing all assessments in a workshop. Make sure it sill works.

      2. Once MDL-26165 is integrated, check that the quiz 'are you sure you want to start/submit this attempt' dialogues have customised button labels.

      Show
      1. Check a place that currently uses confirm_action. For example clearing all assessments in a workshop. Make sure it sill works. 2. Once MDL-26165 is integrated, check that the quiz 'are you sure you want to start/submit this attempt' dialogues have customised button labels.

      The confirm_action lib/outputactions.php is hard-coded to use button captions Cancel and Yes. This is not always appropriate. The API should be extended to allow custom labels. (For example, MDL-26165 is hard to fix at the moment.)

            timhunt Tim Hunt
            timhunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.