Skip to content

Commit

Permalink
Fixed a bug where database administration success modal shows cancel …
Browse files Browse the repository at this point in the history
…button (bug #728)
  • Loading branch information
dengenxp committed Jan 21, 2017
1 parent bf0ea83 commit f2f4e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_html/javascript/dbbackup.js
Expand Up @@ -121,9 +121,9 @@ var geeklog_dbadminInterface = (function() {
data: {"mode" : 'dbbackup_complete', "backup_filename" : dbFileName},
}).done(function(data) {
$("#dbbackupbutton").html(lang_backup);
UIkit.modal.confirm(lang_success, function(){
UIkit.modal.alert(lang_success, function(){
$(location).attr('href', 'database.php');
}, function(){}, {labels:{'Ok': lang_ok,'Cancel': lang_cancel } });
}, function(){}, {labels:{'Ok': lang_ok}});
});
}, 2000);
};
Expand Down

0 comments on commit f2f4e7c

Please sign in to comment.