Skip to content

Commit

Permalink
fix issue with usage page and tinymce on template customization for R…
Browse files Browse the repository at this point in the history
…uby 3 and Tinymce 6
  • Loading branch information
briri committed Apr 13, 2023
1 parent 4df85c7 commit 6dd914a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/javascript/src/orgAdmin/phases/newEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $(() => {
},
});

const questionForm = $(selector).find('.question_form');
const questionForm = $(`#${selector}`).find('.question_form');
if (questionForm.length > 0) {
initQuestion(selector);
}
Expand Down
2 changes: 1 addition & 1 deletion app/services/org/monthly_usage_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def reducer_body(acc, rec, key_target)
else
args = { month: month }
args[key_target] = count
acc[month] = build_model(args)
acc[month] = build_model(**args)
end

acc
Expand Down

0 comments on commit 6dd914a

Please sign in to comment.