From c8d5c8180ee140b573188ca78b0df1995f20e908 Mon Sep 17 00:00:00 2001 From: Ciro Scognamiglio Date: Fri, 25 Jul 2014 16:25:09 +0200 Subject: [PATCH] loading messages --- plugins/apply/static/js/apply.js | 6 ++---- plugins/apply/templates/apply.html | 9 ++++++++- portal/homeview.py | 1 - portal/templates/base.html | 10 +++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/plugins/apply/static/js/apply.js b/plugins/apply/static/js/apply.js index b94fcd6e..236deaf1 100644 --- a/plugins/apply/static/js/apply.js +++ b/plugins/apply/static/js/apply.js @@ -120,7 +120,6 @@ var username = this.options.username; - this.spin(); console.log("do_update in progress"); manifold.raise_event(this.options.query_uuid, RUN_UPDATE); @@ -215,13 +214,11 @@ on_query_in_progress: function() { - this.spin(); }, on_query_done: function() { this.populate_table(); - this.unspin(); }, // D : Data present @@ -233,12 +230,13 @@ on_clear_records: function() { + $('#applyloading').hide(); this.clear(); }, on_query_done: function() { - this.unspin(); + $('#applyloading').hide(); }, // PC : Pending changes diff --git a/plugins/apply/templates/apply.html b/plugins/apply/templates/apply.html index 31a22eee..1a9e8058 100644 --- a/plugins/apply/templates/apply.html +++ b/plugins/apply/templates/apply.html @@ -5,7 +5,14 @@