From 753196f3dd62f8c1fedb0036e922d3a220093ee9 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Wed, 5 Nov 2014 00:41:27 +0200 Subject: commit diff_set upon sentence analysis: - backend_commit - allows client accumulating changes & select better commit timing --- scripts/model/graph.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scripts/model/graph.js') diff --git a/scripts/model/graph.js b/scripts/model/graph.js index e3db1a1a..6ea6a3e4 100644 --- a/scripts/model/graph.js +++ b/scripts/model/graph.js @@ -478,6 +478,16 @@ function Graph(el) { } this.empty = empty; + // @ajax-trans + this.commit_diff_set = function (diff_set) { + + function on_success(data){ + // TODO impl + } + + rz_api_mesh.broadcast_possible_next_diff_block(diff_set); + } + /** /** * perform initial DB load from backend -- cgit v1.3.1