Resolve "Transition branch for CMB and Resq merging" #1181

Merged
korina.cordero merged 258 commits from 329-transition-branch-for-cmb-and-resq-merging into master 2020-04-03 02:49:26 +00:00
Showing only changes of commit e202fb650c - Show all commits

View file

@ -1066,6 +1066,14 @@ $(function() {
{% endfor %} {% endfor %}
{% endif %} {% endif %}
// disable the enabled customer fields
{% if mode != 'create' %}
$("#customer-email").prop("disabled", true);
$("#flag-dpa-consent").prop("disabled", true);
$("#flag-promo-sms").prop("disabled", true);
$("#flag-promo-email").prop("disabled", true);
{% endif %}
$("#row-form").submit(function(e) { $("#row-form").submit(function(e) {
if (form_in_process) { if (form_in_process) {
alert("Cannot submit form twice. First submission still in progress."); alert("Cannot submit form twice. First submission still in progress.");