4291: update to address the refrsh issue as suggested in this Stack Overflow page:
authorradhika <radhika@curoverse.com>
Tue, 28 Oct 2014 12:56:26 +0000 (08:56 -0400)
committerradhika <radhika@curoverse.com>
Tue, 28 Oct 2014 13:50:18 +0000 (09:50 -0400)
http://stackoverflow.com/questions/6560592/rails-3-ajax-update-partial-doesnt-work-without-page-refresh

apps/workbench/app/views/collections/sharing_popup.js.erb

index d2e0d9fc65d0664d56cedbf1830c7484b020e166..d891e06a8a56cbc7eeb3f170c0acf100358a10a7 100644 (file)
@@ -1 +1 @@
-$("#sharing-button").html("<%= escape_javascript(render partial: 'sharing_button') %>");
+$("#sharing-button").html("<%= escape_javascript(render partial: 'sharing_button').html_safe %>");