mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
fireEvent reflection socket call, tweaks to Sounds page in ACP
This commit is contained in:
@@ -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">×</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';
|
||||
|
||||
Reference in New Issue
Block a user