From 5ba55eaa64c02b3a6195403c44e51a4776d4bc95 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 25 May 2019 15:15:32 +0200 Subject: Don't include the tristate and banner js in admin/banners/new view. --- app/views/refinery/banners/admin/banners/new.html.erb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/views/refinery/banners/admin/banners/new.html.erb b/app/views/refinery/banners/admin/banners/new.html.erb index 9d13ccf..37afa80 100644 --- a/app/views/refinery/banners/admin/banners/new.html.erb +++ b/app/views/refinery/banners/admin/banners/new.html.erb @@ -1,7 +1,2 @@ -<%# TODO: Get Tristrate working on edit action. There is bug and inproperly render some checkboxes in edit action. %> -<%- content_for(:javascripts) do -%> - <%= javascript_include_tag "banners/jquery.tristate.js", "banners/banners.js" -%> -<%- end -%> - <%= render 'form' %> -- cgit v1.2.3