15 lines
302 B
Plaintext
15 lines
302 B
Plaintext
<% @updated_blocks.each do |block| %>
|
|
$("#block-<%= block %>").replaceWith("<%= escape_javascript render_dashboard_block(block.to_s, @dashboard) %>");
|
|
<% end %>
|
|
|
|
|
|
$('[title]').tooltip({
|
|
show: {
|
|
delay: 400
|
|
},
|
|
position: {
|
|
my: "center bottom-5",
|
|
at: "center top"
|
|
}
|
|
});
|