updating icon - bar
updating messages git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@178528 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ca1db1bdeb
commit
35302f698b
|
@ -245,7 +245,7 @@ public class PerformFishAnalyticsController {
|
||||||
//viewController.resetBatchIdStatus();
|
//viewController.resetBatchIdStatus();
|
||||||
viewController.setBatchIdStatus(ControlGroupType.INFO);
|
viewController.setBatchIdStatus(ControlGroupType.INFO);
|
||||||
viewController.enableLoadBatches(true);
|
viewController.enableLoadBatches(true);
|
||||||
viewController.showAlertForLoadBatches("Please, load the batch(es) by clicking on 'Load Batches' button", AlertType.INFO, false);
|
viewController.showAlertForLoadBatches("Please load the batch(es) by clicking on 'Load Batches' button", AlertType.INFO, false);
|
||||||
viewController.enableAllAlgorithmsForSubmit(false);
|
viewController.enableAllAlgorithmsForSubmit(false);
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
|
|
|
@ -412,17 +412,17 @@ public class PerformFishAnalitycsFormView extends Composite {
|
||||||
// cg_remote_path.setType(ControlGroupType.NONE);
|
// cg_remote_path.setType(ControlGroupType.NONE);
|
||||||
if (field_select_quarter.getItemCount()>0 && field_select_quarter.getSelectedIndex() == -1) {
|
if (field_select_quarter.getItemCount()>0 && field_select_quarter.getSelectedIndex() == -1) {
|
||||||
cg_select_quarter.setType(ControlGroupType.INFO);
|
cg_select_quarter.setType(ControlGroupType.INFO);
|
||||||
showAlert("Please, select a Quarter", AlertType.INFO);
|
showAlert("Please select a Quarter", AlertType.INFO);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (field_select_area.getItemCount()>0 && field_select_area.getSelectedIndex() == -1) {
|
if (field_select_area.getItemCount()>0 && field_select_area.getSelectedIndex() == -1) {
|
||||||
cg_select_area.setType(ControlGroupType.INFO);
|
cg_select_area.setType(ControlGroupType.INFO);
|
||||||
showAlert("Please, select an Area", AlertType.INFO);
|
showAlert("Please select an Area", AlertType.INFO);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (field_select_period.getItemCount()>0 && field_select_period.getSelectedIndex() == -1) {
|
if (field_select_period.getItemCount()>0 && field_select_period.getSelectedIndex() == -1) {
|
||||||
cg_select_period.setType(ControlGroupType.INFO);
|
cg_select_period.setType(ControlGroupType.INFO);
|
||||||
showAlert("Please, select a Period", AlertType.INFO);
|
showAlert("Please select a Period", AlertType.INFO);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -173,8 +173,10 @@ public class TabPanelView extends Composite {
|
||||||
public void setNoSpinner(Tab tab) {
|
public void setNoSpinner(Tab tab) {
|
||||||
try{
|
try{
|
||||||
tab.asTabLink().getAnchor().removeStyleName("icon-spin");
|
tab.asTabLink().getAnchor().removeStyleName("icon-spin");
|
||||||
|
tab.asTabLink().getAnchor().removeStyleName("icon-rotate-right");
|
||||||
Element anchorElem = tab.asTabLink().getAnchor().asWidget().getElement();
|
Element anchorElem = tab.asTabLink().getAnchor().asWidget().getElement();
|
||||||
anchorElem.getFirstChildElement().removeClassName("icon-spin");
|
anchorElem.getFirstChildElement().removeClassName("icon-spin");
|
||||||
|
anchorElem.getFirstChildElement().removeClassName("icon-rotate-right");
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
//silent
|
//silent
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue