mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:30:42 +02:00
disable click on restore during restore or for corrupted
This commit is contained in:
parent
07bbb33777
commit
99c419c315
1 changed files with 6 additions and 1 deletions
|
@ -275,6 +275,11 @@ $(document).ready(function(){
|
|||
// stop the default behaviour
|
||||
e.preventDefault();
|
||||
|
||||
// if this is a disabled link, don't proceed with the restore
|
||||
if ($(this).parent().hasClass('disabled')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// grab the name of this backup so we can show it in alerts
|
||||
var backupName = $(this).closest('tr').attr('data-backup-name');
|
||||
|
||||
|
|
Loading…
Reference in a new issue