$( "#stat-sharing-section" ).html( "<%= escape_javascript(render 'options_sharing') %>" );
$( "#sharing-modal" ).modal( "hide" );

$( "#stat-sharing-section" ).html( "<%= escape_javascript(render 'stats/options_sharing') %>" );
$( "#sharing-modal" ).modal( "hide" );

Update location of partial rendered by JavaScript
Update location of partial rendered by JavaScript
