소스 검색

Alert on install errors

Nathaniel van Diepen 10 년 전
부모
커밋
a9574a60e4
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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{