From 54aa65a3dab029f28741875eb11a40adb06aff51 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 30 Dec 2014 10:31:39 +0200 Subject: introduce commit_and_tx_diff__topo & commit_diff__topo Multiple fixes / changes. _bugs introduced_ Changes: graph has two change functions (i.e. the internal API): - commit_and_tx_diff_topo This currently transmits, later will optimistically apply first - commit_diff__topo This only applies. Used on the ajax success path for commit_and_tx_diff__topo and when changes are only local. It signals on the diffBus - diffBus - a Bacon.Bus that all UI listens to - selection UI - node/link dialogs - main view (rz_core/update_view__graph) Small changes: whitespace rename filer->filter Completely broken: - text entry. should use commit_diff__topo Problems introduced: selection doesn't work correctly. editing not verified yet --- src/client/textanalysis.ui.js | 1 - 1 file changed, 1 deletion(-) (limited to 'src/client/textanalysis.ui.js') diff --git a/src/client/textanalysis.ui.js b/src/client/textanalysis.ui.js index a3b3becf..b06978c1 100644 --- a/src/client/textanalysis.ui.js +++ b/src/client/textanalysis.ui.js @@ -107,7 +107,6 @@ function changeType(arg) { typeselection.showChosenType(nodetype); rz_core.graph.findCoordinates(id); } - rz_core.update_view__graph(true); } return { -- cgit v1.3.1