From be15db0de8acab7eb027d776dd27a8bfeea4d352 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Tue, 4 Dec 2012 16:57:01 +0100 Subject: [PATCH] Bug #1583: If assignment function is not configurable keep button disabled FEA: ItEr77S04BugFixing --- .../web/planner/allocation/AdvancedAllocationController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/AdvancedAllocationController.java b/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/AdvancedAllocationController.java index d4d69ff62..9e8745130 100644 --- a/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/AdvancedAllocationController.java +++ b/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/AdvancedAllocationController.java @@ -1222,8 +1222,9 @@ class Row { // Disable if task is updated from timesheets assignmentFunctionsCombo.setDisabled(task.isUpdatedFromTimesheets()); - assignmentFunctionsConfigureButton.setDisabled(task - .isUpdatedFromTimesheets()); + assignmentFunctionsConfigureButton + .setDisabled(assignmentFunctionsConfigureButton.isDisabled() + || task.isUpdatedFromTimesheets()); } /**