fireEvent reflection socket call, tweaks to Sounds page in ACP

This commit is contained in:
Julian Lam
2014-03-17 11:36:30 -04:00
parent 14a0b45ae8
commit 16f1db4f5d
7 changed files with 48 additions and 23 deletions

View File

@@ -214,8 +214,11 @@ var socket,
alert = $('<div id="' + alert_id + '" class="alert alert-dismissable alert-' + params.type +'"></div>');
alert.append($('<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'))
.append($('<strong>' + title + '</strong>'))
.append($('<p>' + params.message + '</p>'));
.append($('<strong>' + title + '</strong>'));
if (params.message) {
alert.append($('<p>' + params.message + '</p>'));
}
if (!params.location) {
params.location = 'alert_window';