diff options
author | PeterTheOne <petertheone@gmail.com> | 2016-01-28 20:29:46 (GMT) |
---|---|---|
committer | PeterTheOne <petertheone@gmail.com> | 2016-01-28 20:29:46 (GMT) |
commit | a3d085734454a66955bcc2c642b0a4f7bf5d2b92 (patch) | |
tree | d290b36b2eb96d6350ec31e02e2a9e2f0c93b14c /www/js/utils.js | |
parent | 7aa6781c617b91e3ed28d528428087f11131daac (diff) |
fix musicgrid bugs, create Rivendell.Group class, refactor
Diffstat (limited to 'www/js/utils.js')
-rw-r--r-- | www/js/utils.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/utils.js b/www/js/utils.js index 47f5cff..8a7ee9c 100644 --- a/www/js/utils.js +++ b/www/js/utils.js @@ -20,7 +20,11 @@ * along with rhwebimport. If not, see <http://www.gnu.org/licenses/>. */ -alertbox = function() {} +'use strict'; + +var Rivendell = Rivendell || {}; + +var alertbox = function() {} alertbox.warning = function (dest, heading, message) { $('#' + dest + ' .alertbox').html('<div class="alert"><a class="close" data-dismiss="alert" href="#">×</a><h4 class="alert-heading">' + heading + '</h4>' + message + '</div>'); } |