Skip to content

Commit

Permalink
Merge pull request #1376 from tf/fix-enable-home-button-by-default-js
Browse files Browse the repository at this point in the history
Fix disabling home button input in account form based on theme (15.2 Backport)
  • Loading branch information
tf committed Apr 2, 2020
2 parents 253a857 + 480a695 commit c2ec1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/pageflow/admin/accounts.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jQuery(function($) {
$('.admin_accounts').filter('.new, .edit').find('form.pageflow_account').each(function() {
var themeSelect = $('#account_default_theming_attributes_theme_name', this);
var themeSelect = $('#account_paged_entry_template_attributes_theme_name', this);
var themeOptions = JSON.parse($('script#theme_options', this).text());
var homeButtonCheckBox = $('#account_paged_entry_template_attributes_configuration_home_button_enabled', this);

Expand Down

0 comments on commit c2ec1c9

Please sign in to comment.