Fixed the search button in top header, never got re-enabled when selecting destinatio...
authorLaury GvR <laury@gaslightmedia.com>
Tue, 18 Jul 2017 16:19:00 +0000 (12:19 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 18 Jul 2017 16:19:00 +0000 (12:19 -0400)
js/app.js
js/custom/headerSearch.js

index 79e3a9a..28d6de9 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -331,7 +331,7 @@ $(document).ready(function () {
             complete: function(){
                 activities.prop('disabled',false);
                 parks.prop('disabled',false);
-                category_button.prop('disabled',true);
+                category_button.prop('disabled',false);
                 category_button.attr('value','Search');
 
                 $('.park-search option:first-child').text(park_text);
index 20cc1f2..3b65810 100644 (file)
@@ -322,7 +322,7 @@ $(document).ready(function () {
             complete: function(){
                 activities.prop('disabled',false);
                 parks.prop('disabled',false);
-                category_button.prop('disabled',true);
+                category_button.prop('disabled',false);
                 category_button.attr('value','Search');
 
                 $('.park-search option:first-child').text(park_text);