Commit 3b53cb452812f0dc807a9543dd1520b2d80c675c

Authored by Leandro Santos
1 parent e2e5ed43
Exists in master

load pairwise options on load

views/content_viewer/_pairwise_prompts.html.erb
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <% unless question %> 3 <% unless question %>
4 <div style="height: 190px"></div> 4 <div style="height: 190px"></div>
5 <script> 5 <script>
6 - <%= pairwise_spinner_show_function_call(pairwise_content) %> 6 + <%= pairwise_spinner_show_function_call(pairwise_content).html_safe %>
7 jQuery.ajax({ 7 jQuery.ajax({
8 url: "<%= url_for :controller=>'pairwise_plugin_profile', :action=>'load_prompt', :profile => pairwise_content.profile.identifier, :id => pairwise_content.id %>", 8 url: "<%= url_for :controller=>'pairwise_plugin_profile', :action=>'load_prompt', :profile => pairwise_content.profile.identifier, :id => pairwise_content.id %>",
9 dataType: 'script' 9 dataType: 'script'