mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Add 'off' before setting export button to 'on'
This commit is contained in:
parent
a9b74e3b95
commit
85634b2fb6
1 changed files with 2 additions and 2 deletions
|
@ -734,10 +734,10 @@ var RepositoryDatatable = (function(global) {
|
|||
if (!events || !events.click) {
|
||||
$('#exportRepositoriesButton').removeClass('disabled');
|
||||
$('#exportRepositoriesButton').prop('disabled', false);
|
||||
$('#exportRepositoriesButton').on('click', function() {
|
||||
$('#exportRepositoriesButton').off('click').on('click', function() {
|
||||
$('#exportRepositoryModal').modal('show');
|
||||
});
|
||||
$('#export-repositories').on('click', function() {
|
||||
$('#export-repositories').off('click').on('click', function() {
|
||||
animateSpinner(null, true);
|
||||
$('#form-export').submit();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue