diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index 0d9a3a21f..08052f11e 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -296,7 +296,7 @@
if (textStatus == 'success') {
eval(xhr.responseText);
} else if (textStatus == 'error') {
- alert('error');
+ alert('An error has occurred');
}
});
}
@@ -312,7 +312,7 @@
if (textStatus == 'success') {
eval(xhr.responseText);
} else if (textStatus == 'error') {
- alert('error');
+ alert('An error has occurred');
}
;
});
@@ -331,7 +331,7 @@
if (textStatus == 'success') {
eval(xhr.responseText);
} else if (textStatus == 'error') {
- alert('error');
+ alert('An error has occurred');
}
;
});
@@ -350,7 +350,7 @@
type: "POST"
});
} else if (textStatus == 'error') {
- alert('error');
+ alert('An error has occurred');
}
});
}