Fixed dummy-notification message class and generic new_message function.

This commit is contained in:
Emanuel Schuetze 2013-11-29 13:01:58 +01:00
parent 42f10fa03d
commit 25d7e0f99b
2 changed files with 2 additions and 2 deletions

View File

@ -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');
}

View File

@ -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 %}