From 36195687aae63629fd1f2ce25a67c27c109303eb Mon Sep 17 00:00:00 2001 From: radhika Date: Tue, 28 Oct 2014 08:56:26 -0400 Subject: [PATCH] 4291: update to address the refrsh issue as suggested in this Stack Overflow page: http://stackoverflow.com/questions/6560592/rails-3-ajax-update-partial-doesnt-work-without-page-refresh --- apps/workbench/app/views/collections/sharing_popup.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workbench/app/views/collections/sharing_popup.js.erb b/apps/workbench/app/views/collections/sharing_popup.js.erb index d2e0d9fc65..d891e06a8a 100644 --- a/apps/workbench/app/views/collections/sharing_popup.js.erb +++ b/apps/workbench/app/views/collections/sharing_popup.js.erb @@ -1 +1 @@ -$("#sharing-button").html("<%= escape_javascript(render partial: 'sharing_button') %>"); +$("#sharing-button").html("<%= escape_javascript(render partial: 'sharing_button').html_safe %>"); -- 2.30.2