From d9a1b5359684f220f7a2f491b8a7806f18a344eb Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 8 Oct 2021 16:38:40 +0200 Subject: [PATCH] removed onblur from html --- src/main/cljs/dda/c4k_common/browser.cljs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/cljs/dda/c4k_common/browser.cljs b/src/main/cljs/dda/c4k_common/browser.cljs index b9bc10d..c1f9841 100644 --- a/src/main/cljs/dda/c4k_common/browser.cljs +++ b/src/main/cljs/dda/c4k_common/browser.cljs @@ -102,10 +102,9 @@ (defn generate-input-field [id label - default-value - project-file-path] + default-value] [(generate-label id label) - {:type :element :attrs {:class "form-control" :type "text" :name id :id id :value default-value :onblur (str project-file-path ".validate_all_BANG_()")} :tag :input :content nil} + {:type :element :attrs {:class "form-control" :type "text" :name id :id id :value default-value} :tag :input :content nil} (generate-feedback-tag id) (generate-br)]) @@ -113,10 +112,9 @@ [id label default-value - rows - project-file-path] + rows] [(generate-label id label) - {:type :element :attrs {:name id :id id :class "form-control" :rows rows :onblur (str project-file-path ".validate_all_BANG_()")} :tag :textarea :content [default-value]} + {:type :element :attrs {:name id :id id :class "form-control" :rows rows} :tag :textarea :content [default-value]} (generate-feedback-tag id) (generate-br)])