aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-14 16:13:54 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-08-11 11:28:15 +0100
commit3dfca5a25077c46f0750785e5b8e0eb81f11c253 (patch)
treec10716ad478f735aeeb6985de8ff19a12266c6e9 /templates
parent4ec2431fe3278bfd16feb1970b4aeb1d150fab54 (diff)
downloadopenembedded-core-contrib-3dfca5a25077c46f0750785e5b8e0eb81f11c253.tar.gz
layers: leave drop-down filter box open when ticking/unticking items
This allows users to easily tick and untick several items at once without having to drop the filter box down multiple times. Thanks to Belen for this snippet. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/layerindex/layers.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/layerindex/layers.html b/templates/layerindex/layers.html
index 01ba9e56ac..f612cb0bfd 100644
--- a/templates/layerindex/layers.html
+++ b/templates/layerindex/layers.html
@@ -136,6 +136,10 @@
$.uiTableFilter( theTable, this.value );
})
+ $('.dropdown-menu input, .dropdown-menu label').click(function(e) {
+ e.stopPropagation();
+ })
+
$('#filter-form').submit(function(){
theTable.find("tbody > tr:visible > td:eq(1)").mousedown();
return false;