summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-07-30 18:01:59 +0300
committerAlon Levy <alon@pobox.com>2015-07-30 18:05:06 +0300
commitc85e703253d8bfa21ea48517791f8dc921d4fdd4 (patch)
tree4c69aa3800c637b928c19b915dace11f0da104af /src/client/model/graph.js
parent0af23f4638bbd87ccd886a988616effe58c73c4a (diff)
client: more specific logging for node position recording
Diffstat (limited to 'src/client/model/graph.js')
-rw-r--r--src/client/model/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js
index f7affb93..5e54d228 100644
--- a/src/client/model/graph.js
+++ b/src/client/model/graph.js
@@ -674,6 +674,7 @@ function Graph(spec) {
if (changes === 0) {
return;
}
+ console.log('sending ' + changes + ' nodes position for layout ' + layout_name);
// commit all current nodes
nodes__commit_attributes(function (node) {
var d = {};
@@ -693,7 +694,6 @@ function Graph(spec) {
});
});
var on_ajax_success = function() {
- console.log('successfully committed x, y for current layout');
};
var on_ajax_error = function(){
console.log('error with commit nodes properties to server');