diff --git a/core/misc/ajax.js b/core/misc/ajax.js index 4218727..3e92ba2 100644 --- a/core/misc/ajax.js +++ b/core/misc/ajax.js @@ -469,7 +469,7 @@ else { ajax.options.url += '&'; } - ajax.options.url += Drupal.ajax.WRAPPER_FORMAT + '=drupal_' + (element_settings.dialogType || 'ajax'); + ajax.options.url += Drupal.Ajax.WRAPPER_FORMAT + '=drupal_' + (element_settings.dialogType || 'ajax'); // Bind the ajaxSubmit function to the element event. $(ajax.element).on(element_settings.event, function (event) { @@ -504,7 +504,7 @@ * * @const {string} */ - Drupal.ajax.WRAPPER_FORMAT = '_wrapper_format'; + Drupal.Ajax.WRAPPER_FORMAT = '_wrapper_format'; /** * Request parameter to indicate that a request is a Drupal Ajax request.