Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19118 Comments 2.0
  3. MDL-21940

migrate old comment_exception coding style to new general AJAX_SCRIPT support

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Comments
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      I have already committed the general support ajax scripts in MDL-21938, it is enough to put AJAX_SCRIPT define before require(config.php) - it strips some OUTPUT functions, detects redirects and encodes all exceptions using json.

      Going to commit changes so that we have one example, other places should be converted later.

            skodak Petr Skoda
            skodak Petr Skoda
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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