ajax.js 882 B

1234567891011121314151617181920212223
  1. /**
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. **/
  7. (function (Drupal) {
  8. Drupal.theme.ajaxProgressIndicatorFullscreen = function () {
  9. return '<div class="ajax-progress ajax-progress--fullscreen"><div class="ajax-progress__throbber ajax-progress__throbber--fullscreen">&nbsp;</div></div>';
  10. };
  11. Drupal.theme.ajaxProgressThrobber = function (message) {
  12. var messageMarkup = typeof message === 'string' ? Drupal.theme('ajaxProgressMessage', message) : '';
  13. var throbber = '<div class="ajax-progress__throbber">&nbsp;</div>';
  14. return '<div class="ajax-progress ajax-progress--throbber">' + throbber + messageMarkup + '</div>';
  15. };
  16. Drupal.theme.ajaxProgressMessage = function (message) {
  17. return '<div class="ajax-progress__message">' + message + '</div>';
  18. };
  19. })(Drupal);