|
|
|
@@ -440,9 +440,14 @@ function renderBrend(ID,version_name,parents,filename,init){ |
|
|
|
}else{ |
|
|
|
$('input[name=model]').val(parents) |
|
|
|
$('input[name=modelbac]').val(filename) |
|
|
|
$('#file_breadcrumb a.section:contains(${filename})').nextAll().remove() |
|
|
|
$('#file_breadcrumb a.section:contains(${filename})').replaceWith(`<div class='active section'>${filename}</div>`) |
|
|
|
$('#file_breadcrumb div.section:contains(${filename})').append("<div class='divider'> / </div>") |
|
|
|
let selectEle = $('#file_breadcrumb a.section').filter( |
|
|
|
(index, item) => { |
|
|
|
return item.text == filename; |
|
|
|
} |
|
|
|
); |
|
|
|
selectEle.nextAll().remove(); |
|
|
|
selectEle.after("<div class='divider'> / </div>"); |
|
|
|
selectEle.replaceWith(`<div class='active section'>${filename}</div>`); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|