]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not close container/slider when clicking on single select field
authorVincent Petry <pvince81@owncloud.com>
Fri, 15 Aug 2014 10:43:24 +0000 (12:43 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 15 Aug 2014 10:44:00 +0000 (12:44 +0200)
core/js/singleselect.js

index 79ae0874dbd1d65325addbf4cc2f32cfcd973c2f..1b2016aabb97afb97610e2961822d1e71dd2e7f4 100644 (file)
                                        $(this).tipsy('hide');
                                }
                        });
+                       input.click(function(ev) {
+                               // prevent clicks to close any container
+                               ev.stopPropagation();
+                       });
                });
        };
 })(jQuery);