Skip to content

Commit

Permalink
Merge pull request #1298 from guerler/fix_select2_open_000
Browse files Browse the repository at this point in the history
Open select2 drop down on caret click
  • Loading branch information
dannon committed Dec 11, 2015
2 parents f8d95ab + 952f3f9 commit bca004e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions client/galaxy/scripts/mvc/ui/ui-select-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var View = Backbone.View.extend({
// link elements
this.$select = this.$el.find('.select');
this.$icon_dropdown = this.$el.find('.icon-dropdown');
this.$icon_dropdown.on( 'click', function() { self.$select.select2 && self.$select.select2( 'open' ) });

// allow regular multi-select field to be resized
var minHeight = null;
Expand Down
1 change: 1 addition & 0 deletions client/galaxy/style/less/ui.less
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@
position: absolute;
top: 8px;
right: 8px;
cursor: pointer;
}
.icon-resize {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/ui/ui-select-default.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions static/scripts/bundled/analysis.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/analysis.bundled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/libs.bundled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/mvc/ui/ui-select-default.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/style/blue/base.css

Large diffs are not rendered by default.

0 comments on commit bca004e

Please sign in to comment.