From 655c8011b964367949cc76a4caf93e17502eda9e Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Mon, 25 May 2020 12:53:48 -0600 Subject: [PATCH 1/8] Fix client side validation (#5088) * Add data-request-validate to core save buttons * Check if client side validation is desired before running it Fixes #5076. --- modules/backend/controllers/preferences/index.htm | 1 + modules/backend/controllers/usergroups/create.htm | 4 +++- modules/backend/controllers/usergroups/update.htm | 2 ++ modules/backend/controllers/userroles/create.htm | 4 +++- modules/backend/controllers/userroles/update.htm | 2 ++ modules/backend/controllers/users/create.htm | 2 ++ modules/backend/controllers/users/myaccount.htm | 2 ++ modules/backend/controllers/users/update.htm | 2 ++ modules/cms/controllers/themeoptions/update.htm | 2 ++ modules/system/assets/js/framework-min.js | 4 ++-- modules/system/assets/js/framework.combined-min.js | 4 ++-- modules/system/assets/js/framework.js | 3 ++- modules/system/controllers/mailbrandsettings/index.htm | 1 + modules/system/controllers/maillayouts/create.htm | 2 ++ modules/system/controllers/maillayouts/update.htm | 2 ++ modules/system/controllers/mailpartials/create.htm | 2 ++ modules/system/controllers/mailpartials/update.htm | 2 ++ modules/system/controllers/mailtemplates/create.htm | 2 ++ modules/system/controllers/mailtemplates/update.htm | 2 ++ modules/system/controllers/settings/update.htm | 2 ++ 20 files changed, 40 insertions(+), 7 deletions(-) diff --git a/modules/backend/controllers/preferences/index.htm b/modules/backend/controllers/preferences/index.htm index 3b3061a2d..0183afddf 100644 --- a/modules/backend/controllers/preferences/index.htm +++ b/modules/backend/controllers/preferences/index.htm @@ -11,6 +11,7 @@ - -