From 7b54377f92748bf97f730880d09a7c246ba7e913 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 7 Jan 2022 08:47:09 +0100 Subject: [PATCH] Correct input filter component and remove the clear button --- application/views/pages/customers.php | 18 +++++------------- assets/css/layouts/backend_layout.scss | 5 ----- assets/js/pages/customers.js | 10 ---------- 3 files changed, 5 insertions(+), 28 deletions(-) diff --git a/application/views/pages/customers.php b/application/views/pages/customers.php index 526becd3..f5850be6 100755 --- a/application/views/pages/customers.php +++ b/application/views/pages/customers.php @@ -21,21 +21,13 @@
-
+
-
-
- - -
-
+
diff --git a/assets/css/layouts/backend_layout.scss b/assets/css/layouts/backend_layout.scss index a88fca77..a0fd0582 100644 --- a/assets/css/layouts/backend_layout.scss +++ b/assets/css/layouts/backend_layout.scss @@ -212,11 +212,6 @@ body legend { border-top: none; } -.backend-page .filter-records form .key { - margin-right: 15px; - float: left; -} - .backend-page .filter-records .results { overflow-y: auto; max-height: 650px; diff --git a/assets/js/pages/customers.js b/assets/js/pages/customers.js index 69dedfb1..5ff1a1ed 100644 --- a/assets/js/pages/customers.js +++ b/assets/js/pages/customers.js @@ -37,16 +37,6 @@ App.Pages.Customers = (function () { filter(key); }); - /** - * Event: Filter Customers Clear Button "Click" - */ - $customers.on('click', '#filter-customers .clear', function () { - $('#filter-customers .key').val(''); - filterLimit = 20; - filter(''); - resetForm(); - }); - /** * Event: Filter Entry "Click" *