diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-07 09:26:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-07 09:26:27 +0000 |
commit | 3d64938adcd4dd9372c0a47aa4f03b065d088279 (patch) | |
tree | 5e42632d90c5120d6f8c5481f1de9bb540b925d2 /app/views/common | |
parent | 171581da7e5301470d72efc91e713c375290d7b8 (diff) | |
download | redmine-3d64938adcd4dd9372c0a47aa4f03b065d088279.tar.gz redmine-3d64938adcd4dd9372c0a47aa4f03b065d088279.zip |
Adds JS response support to #render_error (#15760).
git-svn-id: http://svn.redmine.org/redmine/trunk@12855 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r-- | app/views/common/error.js.erb | 1 |
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 %>)"); |