Skip to content

Commit

Permalink
Merge c0f4db7 into 935c0e2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Silvestri committed Sep 21, 2016
2 parents 935c0e2 + c0f4db7 commit f01305e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/javascripts/pageflow/admin/accounts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
jQuery(function($) {
$('.admin_accounts form.pageflow_account').each(function() {
var themeSelect = $('#account_default_theming_attributes_theme_name', this);
var themeOptions = JSON.parse($('script#theme_options', this).text());
if(window.location.pathname === "/admin/accounts/\d+/edit"){
var themeOptions = JSON.parse($('script#theme_options', this).text());
}
var homeButtonCheckBox = $('#account_default_theming_attributes_home_button_enabled_by_default', this);

updateThemeFeatures();
Expand Down

0 comments on commit f01305e

Please sign in to comment.