-
Bug
-
Resolution: Fixed
-
Minor
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_31_STABLE
-
MDL-56958-master -
When calling the ajax webservice script - /lib/ajax/service.php because AJAX_SCRIPT is defined, any webservice that is called will get the "_ajax" renderer by default. In any theme (boost) - unless we define an ajax renderer (can't extend the base one - needs to duplicate the whole thing) we will get the core ajax renderer which only falls back on the core_renderer (not the one from the theme).
If we are returning some HTML as part of a web-service response, we are not expecting the AJAX renderer - it does weird things like removing all headers etc. The AJAX renderer also handles custom error formatting - but we do that anyway in external_api::call_external_function.
So - anything that goes through /lib/ajax/service.php should prefer the GENERAL renderer instead.
- blocks
-
MDL-56435 theme_boost: ensure competencies form elements look good
- Closed
- caused a regression
-
MDL-72080 Content-Type wrong for core_get_fragment
- Reopened
-
MDL-58310 Error occurs whenever in progress ajax request is cancelled (random "undefined" popup)
- Closed
-
MDL-57103 Exceptions are not handled in ajax requests
- Closed
-
MDL-57259 Using fragments triggers debugging message regarding missing set_url() call
- Closed