summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/client.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/client.js b/web/client.js
index 1493ee6..7f779f6 100644
--- a/web/client.js
+++ b/web/client.js
@@ -92,9 +92,8 @@ $(function() {
}
function abort() {
- var def = request("/transaction", {type: "DELETE"});
+ request("/transaction", {type: "DELETE"});
reset();
- return def;
}
function objRequest(path, options) {
@@ -794,7 +793,8 @@ $(function() {
})
});
$("#revert").click(function() {
- txnMgr.abort().always(clearState);
+ txnMgr.abort();
+ clearState();
});
$("#logout").click(function() {