From 9765e4fc3e89400262330d907fb5429ada370428 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Mon, 7 Jun 2010 16:39:12 +0000 Subject: button on test suite page to replicate test_suite_reports to community couchdb git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@952326 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/couch_tests.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'share/www/couch_tests.html') diff --git a/share/www/couch_tests.html b/share/www/couch_tests.html index 0d09a4af..bb384283 100644 --- a/share/www/couch_tests.html +++ b/share/www/couch_tests.html @@ -35,6 +35,14 @@ specific language governing permissions and limitations under the License. $("#toolbar button.load").click(function() { location.reload(true); }); + $("#toolbar button.share").click(function() { + $.showDialog("dialog/_share_test_reports.html", { + submit: function(data, callback) { + $.couch.replicate("test_suite_reports", "http://couchdb.couchdb.org/test_suite_reports"); + callback(); + } + }); + }); $("#toolbar button.add").click(function() { location = "custom_test.html"; }); @@ -52,6 +60,7 @@ specific language governing permissions and limitations under the License.

-- cgit v1.2.3