summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/leap.js
blob: 94e602d43c9d9a205f77f35d70cfc04bfddb766f (plain)
1
2
3
4
5
6
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>');
}