summaryrefslogtreecommitdiff
path: root/share/www/replicator.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-14 22:09:30 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-14 22:09:30 +0000
commita97511cbd6254206f58a1ef77ce78e53211ebd9e (patch)
treee1884f17712b744db4c477355c580646ecfbf4f1 /share/www/replicator.html
parent892590e3a20c617b30ec8f89b0a895b753651e57 (diff)
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
Diffstat (limited to 'share/www/replicator.html')
-rw-r--r--share/www/replicator.html2
1 files changed, 0 insertions, 2 deletions
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");
}
});
});