From 0522186a4e5d379a7b03052b613a6885d7f9aa75 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 29 Jun 2016 20:38:34 +0200 Subject: [PATCH] Added missing event parameter. --- src/assets/js/backend_users_admins.js | 2 +- src/assets/js/backend_users_providers.js | 2 +- src/assets/js/backend_users_secretaries.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/js/backend_users_admins.js b/src/assets/js/backend_users_admins.js index c1746837..76c694c6 100644 --- a/src/assets/js/backend_users_admins.js +++ b/src/assets/js/backend_users_admins.js @@ -55,7 +55,7 @@ * * Display the selected admin data to the user. */ - $('#admins').on('click', '.admin-row', function() { + $('#admins').on('click', '.admin-row', function(e) { if ($('#filter-admins .filter').prop('disabled')) { $('#filter-admins .results').css('color', '#AAA'); return; // exit because we are currently on edit mode diff --git a/src/assets/js/backend_users_providers.js b/src/assets/js/backend_users_providers.js index fbf135c5..dc6ddf33 100644 --- a/src/assets/js/backend_users_providers.js +++ b/src/assets/js/backend_users_providers.js @@ -57,7 +57,7 @@ * * Display the selected provider data to the user. */ - $('#providers').on('click', '.provider-row', function() { + $('#providers').on('click', '.provider-row', function(e) { if ($('#filter-providers .filter').prop('disabled')) { $('#filter-providers .results').css('color', '#AAA'); return; // Exit because we are currently on edit mode. diff --git a/src/assets/js/backend_users_secretaries.js b/src/assets/js/backend_users_secretaries.js index 7e6bf567..3675c69e 100644 --- a/src/assets/js/backend_users_secretaries.js +++ b/src/assets/js/backend_users_secretaries.js @@ -57,7 +57,7 @@ * * Display the selected secretary data to the user. */ - $('#secretaries').on('click', '.secretary-row', function() { + $('#secretaries').on('click', '.secretary-row', function(e) { if ($('#filter-secretaries .filter').prop('disabled')) { $('#filter-secretaries .results').css('color', '#AAA'); return; // exit because we are currently on edit mode