mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-01 00:38:33 +02:00
fix rendering of bottom toolbar in repository browser, if path is null
This commit is contained in:
@@ -414,7 +414,12 @@ Sonia.repository.RepositoryBrowser = Ext.extend(Ext.grid.GridPanel, {
|
||||
var bbar = this.getBottomToolbar();
|
||||
bbar.removeAll();
|
||||
|
||||
var parts = path.split('/');
|
||||
var parts;
|
||||
if (path){
|
||||
parts = path.split('/');
|
||||
} else {
|
||||
parts = [];
|
||||
}
|
||||
var currentPath = '';
|
||||
var items = [this.createFolderButton(currentPath, '')];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user