Skip to content

Commit

Permalink
Only force old dialog use when legitimate api endpoint does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
eclarizio committed Nov 16, 2017
1 parent 7b2c002 commit eebd63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/dialogs/_dialog_provision.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- cancel_endpoint ||= @dialog_locals[:cancel_endpoint]
- force_old_dialog_use = @dialog_locals[:force_old_dialog_use].to_s == "true"

- force_old_dialog_use ||= true
- force_old_dialog_use ||= true if api_submit_endpoint.nil?

- if Settings.product.old_dialog_user_ui || force_old_dialog_use
:javascript
Expand Down

0 comments on commit eebd63e

Please sign in to comment.