Skip to content

Commit

Permalink
Fixed issue: accordion tripled content
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed May 7, 2018
1 parent d5b9ba6 commit 2787eea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -297,11 +297,14 @@
</div>
</div>
</div>
<hr/>
<?php if (!$copying): ?>
<div id="container-advanced-question-settings" class="custom custom-margin top-5">
<!-- Advanced settings -->
</div>
<div class="loader-advancedquestionsettings text-center">
<span class="fa fa-refresh" style="font-size:3em;" aria-hidden='true'></span>
</div>
<!-- Advanced settings -->
<?php endif; ?>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion assets/scripts/admin/questions.js
Expand Up @@ -179,7 +179,7 @@ function updatequestionattributes() {
data: postData,
method: 'POST',
success: function (data) {
$('.loader-advancedquestionsettings').before(data);
$('#container-advanced-question-settings').html(data);
$('.loader-advancedquestionsettings').addClass("hidden");
$('label[title]').qtip({
style: {
Expand Down

0 comments on commit 2787eea

Please sign in to comment.