Commit f4d8461c authored by Efthymia Bika's avatar Efthymia Bika

Add check for selected backup

parent ae59770b
......@@ -18,7 +18,7 @@
} else {
populate_clouds("");
}
if(typeof selected_backup != 'undefined') {
if(typeof selected_backup != 'undefined' && selected_backup) {
$("#selected-bar").html(selected_backup);
$("#selected-bar").show();
load_backup(backups[selected_backup]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment