git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@69631 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
35fff6b1db
commit
8158b8c63f
|
@ -470,10 +470,14 @@ public class AppController implements SubscriberInterface {
|
|||
if(isSelected){
|
||||
FileModel lastParent = this.wsPortlet.getToolBarPath().getLastParent();
|
||||
|
||||
boolean parentChanged = lastParent.getIdentifier().compareTo(target.getParentFileModel().getIdentifier())==0?false:true;
|
||||
|
||||
//RELOAD breadcrumb only if last parent id is changed
|
||||
if(parentChanged)
|
||||
if(lastParent!=null){
|
||||
boolean parentChanged = lastParent.getIdentifier().compareTo(target.getParentFileModel().getIdentifier())==0?false:true;
|
||||
|
||||
//RELOAD breadcrumb only if last parent id is changed
|
||||
if(parentChanged)
|
||||
loadBreadcrumbById(target.getIdentifier());
|
||||
}
|
||||
else
|
||||
loadBreadcrumbById(target.getIdentifier());
|
||||
|
||||
// if(!(lastParent.getIdentifier().compareTo(target.getIdentifier())==0))
|
||||
|
|
|
@ -76,18 +76,16 @@ public class GxtSeachAndFilterPanel extends LayoutContainer {
|
|||
this.cbViewScope = this.comboBoxGxt.getComboViewScope();
|
||||
this.cbNameFilter = this.comboBoxGxt.getComboStringFilter();
|
||||
|
||||
this.cbViewScope.setWidth(300);
|
||||
this.cbViewScope.setAutoWidth(true);
|
||||
this.cbViewScope.setWidth(360);
|
||||
// this.cbViewScope.setAutoWidth(true);
|
||||
|
||||
this.toolbarPathPanel = toolbarContainer;
|
||||
cp.add(this.toolbarPathPanel);
|
||||
|
||||
|
||||
|
||||
hp.setStyleAttribute("padding", "2px");
|
||||
|
||||
this.cbViewScope.setStyleAttribute("margin-left", "5px");
|
||||
this.cbViewScope.setStyleAttribute("margin-right", "100px");
|
||||
this.cbViewScope.setStyleAttribute("margin-right", "70px");
|
||||
|
||||
seVisibleButtonsCancelSave(false);
|
||||
|
||||
|
@ -148,7 +146,7 @@ public class GxtSeachAndFilterPanel extends LayoutContainer {
|
|||
RootPanel workspace = RootPanel.get(ConstantsPortlet.WORKSPACEDIV);
|
||||
int leftBorder = workspace.getAbsoluteLeft();
|
||||
int rootWidth = Window.getClientWidth() - 2* leftBorder; //- rightScrollBar;
|
||||
hp.setWidth(rootWidth - 400);
|
||||
hp.setWidth(rootWidth - 500);
|
||||
}
|
||||
|
||||
public void searchText(String value){
|
||||
|
|
Loading…
Reference in New Issue