Testing something for IE
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Mar 2017 18:47:25 +0000 (14:47 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Mar 2017 18:47:25 +0000 (14:47 -0400)
This is for the drop down selects in ie.

views/front/apis/schedule.html

index 5bf63df..3aaf4f1 100644 (file)
@@ -15,6 +15,7 @@
 {/if}
 jQuery(document).ready(function(){
     {if $inDropDown}
+        var activeForm = false;
         // For the drop down docks schedules
         var dropdown_dockForm = $("#dockForm");
         var dropdown_formDockId = $("#formDockId");
@@ -32,6 +33,12 @@ jQuery(document).ready(function(){
             dropdown_dockForm.submit();
         });
         var dropdown_dock3Sel = $('#dd-sched-3');
+        dropdown_dock3Sel.on("click", function(e){
+            activeForm = true;
+        })
+        dropdown_dock3Sel.on("blur", function(e){
+            activeForm = false;
+        });
         dropdown_dock3Sel.change(function(){
             dropdown_formSchedId.val(3);
             dropdown_formDockId.val(dropdown_dock3Sel.val());