amalgame/commit
store stats returned with other mapping info
author | Jacco van Ossenbruggen |
---|---|
Fri Jul 25 12:01:01 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Fri Jul 25 12:01:01 2014 +0200 | |
commit | 243bec14364a67c1ff03a9e1fa7a0b8e51861ad0 |
tree | 3fb8dc5f45dc8ce94a29fb8096454f3b9de99491 |
parent | 50007b2cb9166553abb48b91dc7a8feac80af98e |
Diff style: patch stat
diff --git a/web/js/mapping.js b/web/js/mapping.js index 1336d02..1032b2c 100644 --- a/web/js/mapping.js +++ b/web/js/mapping.js @@ -43,10 +43,11 @@ YUI.add('mapping', function(Y) { // bind the modules this.after("selectedChange", this._onSelectedChange, this); this.mappingtable.on("rowSelect", this._onCorrespondenceSelect, this); - NODE_DETAIL.all(".submit").on("click", this._onSubmit, this); + NODE_DETAIL.all(".next").on("click", this._onSubmit, this, "next"); NODE_DETAIL.all(".prev").on("click", this._onSubmit, this, "prev"); NODE_DETAIL.all(".cancel").on("click", this._onCancel, this); + NODE_DETAIL.all(".submit").on("click", this._onSubmit, this); NODE_SOURCE_ALL.on("click", this._fetchDetail, this); NODE_TARGET_ALL.on("click", this._fetchDetail, this); @@ -66,7 +67,8 @@ YUI.add('mapping', function(Y) { resultListLocator: "mapping", resultFields: ["source", "target", "relation"], metaFields: { - totalNumberOfResults:"total" + totalNumberOfResults:"total", + stats:"stats" } } });