Skip to content

Commit c827cef

Browse files
committed
Removed some debug output from the ajax alert windows if a ajax request fails.
1 parent b445c6c commit c827cef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/js/scrigo.js.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function submitForm(formname,target) {
105105
},
106106
failure: function(o) {
107107
var parts = o.responseText.split(':');
108-
alert('Ajax Request was not successful. '+parts[1]);
108+
alert('Ajax Request was not successful.');
109109
}
110110
}
111111

@@ -145,7 +145,7 @@ function submitUploadForm(formname,target) {
145145
}
146146
},
147147
failure: function(o) {
148-
alert('Ajax Request was not successful. 1');
148+
alert('Ajax Request was not successful.');
149149
}
150150
}
151151

0 commit comments

Comments
 (0)