amalgame/commit
mode -> fill mode renaming
author | Jacco van Ossenbruggen |
---|---|
Fri Aug 1 22:41:35 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Fri Aug 1 22:41:35 2014 +0200 | |
commit | aebacfa378e11fd5e26ffa41dcd3d8f3e9660920 |
tree | 4821b3503e0b9372e50b3644dad2f351c536ec97 |
parent | 70dec7082a27f36f8621fd1e24a47bd420bced9e |
Diff style: patch stat
diff --git a/api/correspondence.pl b/api/correspondence.pl index 77a39e6..86ea89b 100644 --- a/api/correspondence.pl +++ b/api/correspondence.pl @@ -32,7 +32,7 @@ http_correspondence(Request) :- mapping(Mapping, [description('URI of the mapping')]), strategy(Strategy, [description('URL of strategy')]), - mode(Mode, [ + fillmode(Mode, [ oneof(empty, 'fill-in'), default(empty), description('Fill-in the form or leave it empty')]), diff --git a/web/js/evaluater.js b/web/js/evaluater.js index 1db5d02..4cbcd9c 100644 --- a/web/js/evaluater.js +++ b/web/js/evaluater.js @@ -251,14 +251,13 @@ YUI.add('evaluater', function(Y) { points:[Y.WidgetPositionAlign.TR, Y.WidgetPositionAlign.BR] }); - var mode = (this.get('editmode') == "eval")?"empty":"fill-in"; // call the server var data = { strategy:this.get("strategy"), mapping:this.get("selected"), + fillmode: 'fill-in', source: this._source, target: this._target, - mode: mode, allsource: NODE_SOURCE_ALL.get("checked"), alltarget: NODE_TARGET_ALL.get("checked") };