mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Corrected post filtering row selection for categories.
This commit is contained in:
parent
e202abc82b
commit
1212cd51f3
1 changed files with 2 additions and 2 deletions
|
@ -334,7 +334,7 @@
|
|||
$('#filter-categories .selected').removeClass('selected');
|
||||
|
||||
$('#filter-categories .category-row').each(function() {
|
||||
if ($(this).attr('data-id') === id) {
|
||||
if ($(this).attr('data-id') == id) {
|
||||
$(this).addClass('selected');
|
||||
return false;
|
||||
}
|
||||
|
@ -342,7 +342,7 @@
|
|||
|
||||
if (display) {
|
||||
$.each(this.filterResults, function(index, category) {
|
||||
if (category.id === id) {
|
||||
if (category.id == id) {
|
||||
this.display(category);
|
||||
$('#edit-category, #delete-category').prop('disabled', false);
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue