app/views/layouts/admin.html.erb in tkh_admin_panel-0.9.7 vs app/views/layouts/admin.html.erb in tkh_admin_panel-0.9.8
- old
+ new
@@ -77,9 +77,11 @@
<%= javascript_include_tag "admin" %>
<% # the twitter typeahead javascript library needs all typeahead form fields to be present in DOM. this is an ugly hack %>
<% if controller.controller_name == 'pages' %>
<%= javascript_include_tag 'admin/pages' %>
+ <% elsif controller.controller_name == 'illustrations' %>
+ <%= javascript_include_tag 'admin/illustrations' %>
<% end %>
</body>
</html>