From a97511cbd6254206f58a1ef77ce78e53211ebd9e Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Wed, 14 Jan 2009 22:09:30 +0000 Subject: Make the updating of the page-wide loading indicator in Futon both simpler and more robust by hooking into the jQuery global AJAX events support. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734531 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/replicator.html | 2 -- 1 file changed, 2 deletions(-) (limited to 'share/www/replicator.html') diff --git a/share/www/replicator.html b/share/www/replicator.html index e873f141..02c09219 100644 --- a/share/www/replicator.html +++ b/share/www/replicator.html @@ -76,7 +76,6 @@ specific language governing permissions and limitations under the License. $("#records tbody.content").empty(); var source = $("#from_local")[0].checked ? $("#from_name").val() : $("#from_url").val(); var target = $("#to_local")[0].checked ? $("#to_name").val() : $("#to_url").val(); - $(document.body).addClass("loading"); $.couch.replicate(source, target, { success: function(resp) { $.each(resp.history, function(idx, record) { @@ -86,7 +85,6 @@ specific language governing permissions and limitations under the License. }); $("#records tbody tr").removeClass("odd").filter(":odd").addClass("odd"); $("#records tbody.footer td").text("Replication session " + resp.session_id); - $(document.body).removeClass("loading"); } }); }); -- cgit v1.2.3