5 lines
329 B
Text
5 lines
329 B
Text
-# please polish the following line if you know how, same in view destroy
|
|
var errorDiv = $('<div class="alert fade in alert-error"><a class="close" data-dismiss="alert" href="#">#{t('ui.marks.close').html_safe}</a></div>');
|
|
|
|
errorDiv.append(document.createTextNode('#{j(fail_msg)}'));
|
|
$('div.container-fluid').prepend(errorDiv);
|