never show '/' as path for conflicting file names
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
e51acfc717
commit
fe6b4d432b
|
@ -1214,7 +1214,9 @@
|
|||
if (firstConflictPath.charAt(0) === '/') {
|
||||
firstConflictPath = firstConflictPath.substr(1);
|
||||
}
|
||||
$firstConflict.find('td.filename span.innernametext').prepend($('<span></span>').addClass('conflict-path').text(firstConflictPath));
|
||||
if (firstConflictPath && firstConflictPath !== '/') {
|
||||
$firstConflict.find('td.filename span.innernametext').prepend($('<span></span>').addClass('conflict-path').text(firstConflictPath));
|
||||
}
|
||||
}
|
||||
|
||||
var conflictPath = path + '/';
|
||||
|
|
Loading…
Reference in New Issue