Fix some Bess migration bugs
This commit is contained in:
parent
ea049c43b5
commit
d5fcab066c
2 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ var app = {
|
|||
, map_provider: "<%= Houdini.maps&.provider %>"
|
||||
, map_provider_options: <%= Houdini.maps&.options ? raw(Houdini.maps.options.to_json) : {} %>
|
||||
, editor: "<%= Houdini.page_editor.editor%>"
|
||||
<% if Settings&.page_editor&.editor == 'froala' and Settings&.page_editor&.editor_options&.froala_key %>, froala_key: "<%= Houdini.page_editor.editor_options.froala_key %>"<% end %>
|
||||
<% if Houdini.page_editor&.editor == 'froala' and Houdini.page_editor&.editor_options&.froala_key %>, froala_key: "<%= Houdini.page_editor.editor_options.froala_key %>"<% end %>
|
||||
<%if @nonprofit&.currency_symbol %>, currency_symbol: "<%= @nonprofit.currency_symbol%>"<% end %>
|
||||
};
|
||||
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
<script src="https://cdn.polyfill.io/v1/polyfill.min.js"></script>
|
||||
|
||||
<%= render 'layouts/app_data' %>
|
||||
<% if Houdini.payment_providers.stripe.stripe_proprietary_v2_js %>
|
||||
<% if Houdini.payment_providers.stripe.proprietary_v2_js %>
|
||||
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
|
||||
<% else %>
|
||||
<%= javascript_pack_tag "page__stripe_wrapper" %>
|
||||
<% end %>
|
||||
|
||||
<script>
|
||||
Stripe.setPublishableKey("<%= Houdini.payment_providers.stripe.stripe_public_key %>");
|
||||
Stripe.setPublishableKey("<%= Houdini.payment_providers.stripe.public_key %>");
|
||||
window._csrf = "<%= form_authenticity_token %>";
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue