Skip to content
Snippets Groups Projects
Commit fcb4d2aa authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Remove the history dropdown before creating a new one

parent 122d1efe
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,17 @@ $(document).ready(function(){
if (scanFiles.scanning){return;}//workaround to prevent additional http request block scanning feedback
var file = $('#dir').val()+'/'+filename;
createVersionsDropdown(filename, file)
// Check if drop down is already visible for a different file
if (($('#dropdown').length > 0)) {
if (file != $('#dropdown').data('file')) {
$('#dropdown').hide('blind', function() {
$('tr').removeClass('mouseOver');
createVersionsDropdown(filename, file);
});
}
} else {
createVersionsDropdown(filename, file);
}
});
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment