fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17454] removed autosearch on checkboxes


From: roger . kolseth
Subject: [Fmsystem-commits] [17454] removed autosearch on checkboxes
Date: Tue, 19 Dec 2017 13:12:28 -0500 (EST)

Revision: 17454
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17454
Author:   rogkol
Date:     2017-12-19 13:12:28 -0500 (Tue, 19 Dec 2017)
Log Message:
-----------
removed autosearch on checkboxes

Modified Paths:
--------------
    trunk/bookingfrontend/js/aalesund/search.js

Modified: trunk/bookingfrontend/js/aalesund/search.js
===================================================================
--- trunk/bookingfrontend/js/aalesund/search.js 2017-12-18 14:24:18 UTC (rev 
17453)
+++ trunk/bookingfrontend/js/aalesund/search.js 2017-12-19 18:12:28 UTC (rev 
17454)
@@ -18,21 +18,6 @@
                autoOpen: false
        });
 
-       $(window).scroll(function () {
-        if ($(this).scrollTop() > 100) {
-            $('.scrollup').fadeIn();
-        } else {
-            $('.scrollup').fadeOut();
-        }
-    });
-
-    $('.scrollup').click(function () {
-        $("html, body").animate({
-            scrollTop: 0
-        }, 600);
-        return false;
-    });
-
        update_autocompleteHelper = function ()
        {
                oArgs = {
@@ -56,24 +41,28 @@
                        update_search(selected_criteria, true);
                }
        });
+        
+        $("#update-search-result").on('click',function(){
+            update_search(selected_criteria, true);
+        });
 
-       $("#search_type :checkbox").on('click', function ()
-       {
-               update_search(selected_criteria, true);
-
-       });
-       $("#top_level :checkbox").on('click', function ()
-       {
-               update_search(selected_criteria, true);
-
-       });
-
-       $("#part_of_town :checkbox").on('click', function ()
-       {
-               selected_building_id = null;
-               update_search(selected_criteria);
-
-       });
+       // $("#search_type :checkbox").on('click', function ()
+       // {
+       //      update_search(selected_criteria, true);
+        //
+       // });
+       // $("#top_level :checkbox").on('click', function ()
+       // {
+       //      update_search(selected_criteria, true);
+        //
+       // });
+        //
+       // $("#part_of_town :checkbox").on('click', function ()
+       // {
+       //      selected_building_id = null;
+       //      update_search(selected_criteria);
+        //
+       // });
        //initate autocomplete;
        update_autocompleteHelper();
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]