changeset 2978:7483f1bae6e1

#262 chaining of update requests
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 12 Jan 2018 13:58:03 +0000
parents cbd65226e069
children d5432dd0924e a169e79ba224
files js/core.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Fri Jan 12 13:38:59 2018 +0000
+++ b/js/core.js	Fri Jan 12 13:58:03 2018 +0000
@@ -3779,7 +3779,7 @@
                         throw ("Cannot save as key == null");
                     }
                     this.parent.root.setAttribute("state", "update");
-                    requestChains = requestChains.then(postUpdate());
+                    requestChains = requestChains.then(postUpdate);
                 }
             },
             "finish": {