just added a quick fix to breadcrumb

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@179058 82a268e6-3cf1-43bd-a215-b396298e98cf
task/19600
Francesco Mangiacrapa 5 years ago
parent a23da8bbe2
commit 5e6ff7acc6

@ -5,12 +5,15 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="ckan-metadata-publisher-widget-1.5.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ckan-metadata-publisher-widget-TRUNK/ckan-metadata-publisher-widget-TRUNK">
<dependent-module archiveName="storagehub-client-wrapper-0.5.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/storagehub-client-wrapper-TRUNK/storagehub-client-wrapper-TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="workspace-tree-widget-6.25.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WorkspaceTree-TRUNK/WorkspaceTree-TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="gcube-url-shortener-1.5.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/gcube-url-shortener/gcube-url-shortener">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
<property name="context-root" value="workspace"/>
</wb-module>

@ -1074,9 +1074,15 @@ public class AppController implements SubscriberInterface {
@Override
public void onSuccess(List<FileModel> result) {
//is just to show last item as element not cliclable
if(isLastParent && item.isDirectory() && !item.isRoot()){
result.add(item);
}
if(item.isRoot() && result.size()==0) {
result.add(item);
}
updateBreadcrumb(result); //Set file path in tab panel on current item selected
}
});

Loading…
Cancel
Save