diff options
Diffstat (limited to 'app/assets/javascripts/leap.js')
-rw-r--r-- | app/assets/javascripts/leap.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/leap.js b/app/assets/javascripts/leap.js new file mode 100644 index 0000000..94e602d --- /dev/null +++ b/app/assets/javascripts/leap.js @@ -0,0 +1,7 @@ + +// +// add a bootstrap alert to the page via javascript. +// +function alert_message(msg) { + $('#messages').append('<div class="alert alert-error"><a class="close" data-dismiss="alert">×</a><span>'+msg+'</span></div>'); +} |