Added missing event parameter.

This commit is contained in:
Alex Tselegidis 2016-06-29 20:38:34 +02:00
parent 399f0c8aec
commit 0522186a4e
3 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@
* *
* Display the selected admin data to the user. * 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')) { if ($('#filter-admins .filter').prop('disabled')) {
$('#filter-admins .results').css('color', '#AAA'); $('#filter-admins .results').css('color', '#AAA');
return; // exit because we are currently on edit mode return; // exit because we are currently on edit mode

View file

@ -57,7 +57,7 @@
* *
* Display the selected provider data to the user. * 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')) { if ($('#filter-providers .filter').prop('disabled')) {
$('#filter-providers .results').css('color', '#AAA'); $('#filter-providers .results').css('color', '#AAA');
return; // Exit because we are currently on edit mode. return; // Exit because we are currently on edit mode.

View file

@ -57,7 +57,7 @@
* *
* Display the selected secretary data to the user. * 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')) { if ($('#filter-secretaries .filter').prop('disabled')) {
$('#filter-secretaries .results').css('color', '#AAA'); $('#filter-secretaries .results').css('color', '#AAA');
return; // exit because we are currently on edit mode return; // exit because we are currently on edit mode