mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
the removed select2 class overrule for edit hda attributes is needed afterall, I at least did rename it to specific to its usage so other select2 items can work normally
This commit is contained in:
@@ -236,8 +236,10 @@ function naturalSort(a, b) {
|
||||
|
||||
$.fn.refresh_select2 = function() {
|
||||
var select_elt = $(this);
|
||||
var options = { width: "resolve",
|
||||
closeOnSelect: !select_elt.is("[MULTIPLE]")
|
||||
var options = { placeholder:'Click to select',
|
||||
closeOnSelect: !select_elt.is("[MULTIPLE]"),
|
||||
dropdownAutoWidth : true,
|
||||
containerCssClass: 'select2-minwidth'
|
||||
};
|
||||
return select_elt.select2( options );
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1232,7 +1232,7 @@ label{font-weight:normal}
|
||||
.select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0) !important;width:1px !important;height:1px !important;border:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important;position:absolute !important;outline:0 !important;left:0px !important;top:0px !important}
|
||||
.select2-display-none{display:none}
|
||||
.select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}
|
||||
@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){.select2-search input,.select2-search-choice-close,.select2-container .select2-choice abbr,.select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png') !important;background-repeat:no-repeat !important;background-size:60px 40px !important} .select2-search input{background-position:100% -21px !important}}.select2-container{min-width:256px}
|
||||
@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){.select2-search input,.select2-search-choice-close,.select2-container .select2-choice abbr,.select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png') !important;background-repeat:no-repeat !important;background-size:60px 40px !important} .select2-search input{background-position:100% -21px !important}}.select2-minwidth{min-width:256px}
|
||||
.galaxy-frame{}.galaxy-frame .corner{-moz-border-radius:5px;border-radius:5px}
|
||||
.galaxy-frame .toggle{color:gold}
|
||||
.galaxy-frame .frame-background{z-index:1000;position:absolute;display:none;top:0px;left:0px;height:100%;width:100%;opacity:0.6;background:#000;overflow:auto}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
@import "select2.less";
|
||||
/* fix for zero width select2 - remove when fixed there */
|
||||
.select2-container {
|
||||
.select2-minwidth {
|
||||
min-width: 256px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user