summaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/error.js.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/common/error.js.erb b/app/views/common/error.js.erb
new file mode 100644
index 000000000..81d377fe6
--- /dev/null
+++ b/app/views/common/error.js.erb
@@ -0,0 +1 @@
+alert("<%= raw escape_javascript @message %> (<%= raw escape_javascript @status.to_s %>)");