Fixed dummy-notification message class and generic new_message function.
This commit is contained in:
parent
42f10fa03d
commit
25d7e0f99b
@ -72,7 +72,7 @@ $(function () {
|
||||
|
||||
function new_message(text, type) {
|
||||
var message = $('#dummy-notification').clone(true);
|
||||
$(message).removeAttr('id').addClass(type).children('em').html(text);
|
||||
$(message).removeAttr('id').addClass(type).html(text);
|
||||
$('#notifications').append(message);
|
||||
message.slideDown('fast');
|
||||
}
|
||||
|
@ -87,7 +87,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div id="notifications">
|
||||
<div id="dummy-notification" class="notification" style="display:none">
|
||||
<div id="dummy-notification" class="alert" style="display:none">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
</div>
|
||||
{% for message in messages %}
|
||||
|
Loading…
Reference in New Issue
Block a user