Browse Source

Alert on install errors

Nathaniel van Diepen 10 years ago
parent
commit
a9574a60e4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      install/install.js

+ 3 - 0
install/install.js

@@ -24,6 +24,9 @@
 						}else{
 							if(confirm("Installation successful!\nDo you want to delete the installation files?")){
 								$.get('api.php?&dbtemplate=install&type=install&id=cleanup',function(d){
+									if(d != ''){
+										alert('Error: '+d);
+									}
 									returnToIndex();
 								});
 							}else{