fixed to disable a button on startStabilizing

This commit is contained in:
hyung-hwan 2016-12-16 16:12:41 +00:00
parent 615925180d
commit 0459989cd0

View File

@ -168,7 +168,7 @@ var GraphApp = (function()
this.graph.on ('startStabilizing', function () this.graph.on ('startStabilizing', function ()
{ {
self.refresh_button.button ("enable"); self.refresh_button.button ("disable");
}); });
this.graph.on ('stabilizationProgress', function (params) this.graph.on ('stabilizationProgress', function (params)
{ {
@ -236,7 +236,6 @@ var GraphApp = (function()
return false; return false;
}); });
} }
}; };
App.prototype.triggerRefresh = function () App.prototype.triggerRefresh = function ()
@ -267,7 +266,8 @@ var GraphApp = (function()
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
$(function () { $(function ()
{
var graph_app = new GraphApp ( var graph_app = new GraphApp (
'project_map_graph', 'project_map_refresh_button', 'project_map_graph', 'project_map_refresh_button',
'project_map_refresh_spin', 'project_map_progress', 'project_map_refresh_spin', 'project_map_progress',