From 0459989cd0f932f94c06a1e86d69a5b4d41eab06 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 16 Dec 2016 16:12:41 +0000 Subject: [PATCH] fixed to disable a button on startStabilizing --- codepot/src/codepot/views/project_map.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codepot/src/codepot/views/project_map.php b/codepot/src/codepot/views/project_map.php index c5aae11c..b2fb9dcd 100644 --- a/codepot/src/codepot/views/project_map.php +++ b/codepot/src/codepot/views/project_map.php @@ -168,7 +168,7 @@ var GraphApp = (function() this.graph.on ('startStabilizing', function () { - self.refresh_button.button ("enable"); + self.refresh_button.button ("disable"); }); this.graph.on ('stabilizationProgress', function (params) { @@ -236,7 +236,6 @@ var GraphApp = (function() return false; }); } - }; App.prototype.triggerRefresh = function () @@ -267,7 +266,8 @@ var GraphApp = (function() /* ---------------------------------------------------------------------- */ -$(function () { +$(function () +{ var graph_app = new GraphApp ( 'project_map_graph', 'project_map_refresh_button', 'project_map_refresh_spin', 'project_map_progress',