summaryrefslogtreecommitdiff
path: root/www/js/utils.js
diff options
context:
space:
mode:
authorPeterTheOne <petertheone@gmail.com>2016-01-28 20:29:46 (GMT)
committerPeterTheOne <petertheone@gmail.com>2016-01-28 20:29:46 (GMT)
commita3d085734454a66955bcc2c642b0a4f7bf5d2b92 (patch)
treed290b36b2eb96d6350ec31e02e2a9e2f0c93b14c /www/js/utils.js
parent7aa6781c617b91e3ed28d528428087f11131daac (diff)
fix musicgrid bugs, create Rivendell.Group class, refactor
Diffstat (limited to 'www/js/utils.js')
-rw-r--r--www/js/utils.js6
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="#">&times;</a><h4 class="alert-heading">' + heading + '</h4>' + message + '</div>');
}