additionals/app/views/dashboards/update_layout_setting.js.erb
2020-08-10 19:37:41 +02:00

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"
}
});