diff --git a/app/javascript/controllers/remote_auto_save_controller.js b/app/javascript/controllers/outlet_auto_save_controller.js similarity index 100% rename from app/javascript/controllers/remote_auto_save_controller.js rename to app/javascript/controllers/outlet_auto_save_controller.js diff --git a/app/views/bubbles/show.html.erb b/app/views/bubbles/show.html.erb index 6f6bb4e5b..ae6f770a4 100644 --- a/app/views/bubbles/show.html.erb +++ b/app/views/bubbles/show.html.erb @@ -103,9 +103,9 @@ <% else %>
-
+ <%= tag.house_md @bubble.draft_comment, name: "bubble[draft_comment]", class: "input comment__input", form: "bubble_form", placeholder: new_comment_placeholder(@bubble), - data: { action: "house-md:change->remote-auto-save#change focusout->remote-auto-save#submit", uploads_url: uploads_url(format: "json") } %> + data: { action: "house-md:change->outlet-auto-save#change focusout->outlet-auto-save#submit", uploads_url: uploads_url(format: "json") } %>