From 78dbe604aab2f92be94d787d46340b3281d904c8 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Thu, 2 May 2019 23:20:18 +0200 Subject: [PATCH] disable reactive button js util --- static/js/utils/form.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/static/js/utils/form.js b/static/js/utils/form.js index 54c3a430f..4c77f8621 100644 --- a/static/js/utils/form.js +++ b/static/js/utils/form.js @@ -106,11 +106,15 @@ return init(); }; - formUtilities.push({ - name: REACTIVE_SUBMIT_BUTTON_UTIL_NAME, - selector: REACTIVE_SUBMIT_BUTTON_UTIL_SELECTOR, - setup: reactiveSubmitButtonUtil, - }); + // skipping reactiveButtonUtil (for now) + // the button did not properly re-enable after filling out a form for some safari users. + // if maybe in the future there is going to be a proper way of (asynchronously) and + // meaningfully validating forms this can be re-activated by commenting in the next few lines + // formUtilities.push({ + // name: REACTIVE_SUBMIT_BUTTON_UTIL_NAME, + // selector: REACTIVE_SUBMIT_BUTTON_UTIL_SELECTOR, + // setup: reactiveSubmitButtonUtil, + // }); /** *