Skip to content

Commit

Permalink
SAK-46468 Hot Spot possible answers are not shown in 'Tests & Quizzes…
Browse files Browse the repository at this point in the history
…' when using 'Català' language (sakaiproject#9962)
  • Loading branch information
josecebe authored Oct 28, 2021
1 parent 735b982 commit 28dafc8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@
if($('#itemForm\\:serialized').val() != '')
dynamicList.fillElements();
else
dynamicList.addElement('<h:outputText value="#{authorMessages.im_description}" escape="false" />', true,true);
dynamicList.addElement("<h:outputText value='#{authorMessages.im_description}' escape="false" />", true,true);
document.getElementById('addNewElement').addEventListener('click', function(e) {
dynamicList.addElement("<h:outputText value='#{authorMessages.im_description}' escape="false" />", true,true);
}, false);
});
function resetList()
Expand Down Expand Up @@ -221,7 +225,7 @@
<h:inputHidden id="serialized" value="#{itemauthor.currentItem.serializedImageMap}" />

<div>
<input type='button' onclick="dynamicList.addElement('<h:outputText value="#{authorMessages.im_description}" escape="false" />', true,true)" value="+" style="margin-left: 45px" />
<input type='button' id='addNewElement' value="+" style="margin-left: 45px" />
<div id='template' style='display:none'>
<span name='position_'></span>
<span>
Expand Down

0 comments on commit 28dafc8

Please sign in to comment.