Merge pull request #5027 from sboursen-scinote/sb_SCI-7991

Versions button is not connected to the actions toolbar [SCI-7991]
This commit is contained in:
aignatov-bio 2023-02-28 12:09:14 +01:00 committed by GitHub
commit 68cb18133f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,6 @@ var ProtocolsIndex = (function() {
var archivedOnToFilter;
var protocolsViewSearch;
/**
* Initializes page
*/
@ -419,6 +418,10 @@ var ProtocolsIndex = (function() {
e.stopPropagation();
e.preventDefault();
});
$(protocolsContainer).on('click', '#protocolVersions', function() {
$(`tr[data-row-id=${rowsSelected[0]}] .protocol-versions-link`).click();
});
}
function initdeleteDraftModal() {