This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/page_parts/get_display_style.js.erb

11 lines
298 B
Plaintext
Raw Permalink Normal View History

<% if @partial %>
$("#module_widget .display-mode").html("<%= j render @partial %>")
<% else %>
$("#module_widget .display-mode").html('')
<% end %>
<% if !@module_app.enable_widget_data_count %>
$(".widget_count").addClass('hide');
<% else %>
$(".widget_count").removeClass('hide');
<% end %>