summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/views-admin.css15
-rw-r--r--js/ajax.js2
2 files changed, 16 insertions, 1 deletions
diff --git a/css/views-admin.css b/css/views-admin.css
index a08d3c7..6d1b91d 100644
--- a/css/views-admin.css
+++ b/css/views-admin.css
@@ -297,10 +297,25 @@ html.js span.js-only {
/* @end */
/* @group AJAX throbber */
+
+/* Base Page */
.views-admin .ajax-progress-throbber {
left: 45%;
position: fixed;
top: 45%;
}
+.views-admin .ajax-progress-throbber .message {
+ display: none;
+}
+
+/* Modal */
+#views-ajax-popup .ajax-progress-throbber {
+ left: 45%;
+ position: fixed;
+ top: 45%;
+}
+.views-ajax-popup .ajax-progress-throbber .message {
+ display: none;
+}
/* @end */
diff --git a/js/ajax.js b/js/ajax.js
index a2b1b25..cdc123c 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -27,7 +27,7 @@
});
$('form', ajax_body).once('views-ajax-submit-processed').each(function() {
- var element_settings = { 'url': response.url, 'event': 'submit', 'progress': { 'type': 'none' } };
+ var element_settings = { 'url': response.url, 'event': 'submit', 'progress': { 'type': 'throbber' } };
var $form = $(this);
var id = $form.attr('id');
Drupal.ajax[id] = new Drupal.ajax(id, this, element_settings);