From c827cefac10ae4163ddf7ebc44a7919c6aff02da Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 2 Jul 2010 11:26:05 +0000 Subject: [PATCH] Removed some debug output from the ajax alert windows if a ajax request fails. --- interface/web/js/scrigo.js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index ba73aa745..a38ec4484 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -105,7 +105,7 @@ function submitForm(formname,target) { }, failure: function(o) { var parts = o.responseText.split(':'); - alert('Ajax Request was not successful. '+parts[1]); + alert('Ajax Request was not successful.'); } } @@ -145,7 +145,7 @@ function submitUploadForm(formname,target) { } }, failure: function(o) { - alert('Ajax Request was not successful. 1'); + alert('Ajax Request was not successful.'); } } -- GitLab