Remove "Go to advanced allocation" button in resource allocation pop-up

FEA: ItEr75S23FixAllocationModel
This commit is contained in:
Manuel Rego Casasnovas 2011-09-26 09:43:01 +02:00
parent 575f1a8513
commit 30494391c4
2 changed files with 0 additions and 6 deletions

View file

@ -118,7 +118,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
private Label allConsolidatedResourcesPerDay;
private Button applyButton;
private Button advancedAllocationButton;
private NewAllocationSelector newAllocationSelector;
@ -311,7 +310,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
allocationSelector.addChoosen();
} finally {
tbResourceAllocation.setSelected(true);
advancedAllocationButton.setVisible(true);
applyButton.setVisible(true);
allocationSelector.clearAll();
Util.reloadBindings(allocationsGrid);
@ -319,7 +317,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
}
public void goToAdvancedSearch() {
advancedAllocationButton.setVisible(false);
applyButton.setVisible(false);
workerSearchTab.setSelected(true);
}
@ -360,7 +357,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
*/
public void onCloseSelectWorkers() {
tbResourceAllocation.setSelected(true);
advancedAllocationButton.setVisible(true);
applyButton.setVisible(true);
newAllocationSelector.clearAll();
}

View file

@ -119,7 +119,5 @@
<!-- Control buttons -->
<hbox>
<button label="${i18n:_('Apply tab changes')}" id="applyButton" sclass="global-action" />
<button label="${i18n:_('Go to advanced Allocation')}" id="advancedAllocationButton"
onClick="editController.goToAdvancedAllocation();" sclass="global-action" />
</hbox>
</tabpanel>