parent
0812bc3d64
commit
8b223ec328
|
@ -60,7 +60,6 @@ select.chzn-select {
|
|||
white-space: nowrap;
|
||||
-o-text-overflow: ellipsis;
|
||||
-ms-text-overflow: ellipsis;
|
||||
-moz-binding: url('/xml/ellipsis.xml#ellipsis');
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.chzn-container-single .chzn-single div {
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
this.default_text = this.form_field_jq.data('placeholder') ? this.form_field_jq.data('placeholder') : this.default_text_default;
|
||||
container_div = $("<div />", {
|
||||
id: this.container_id,
|
||||
"class": "chzn-container " + (this.is_rtl ? ' chzn-rtl' : void 0),
|
||||
"class": "chzn-container " + (this.is_rtl ? 'chzn-rtl' : ''),
|
||||
style: 'width: ' + this.f_width + 'px;'
|
||||
});
|
||||
if (this.is_multiple) {
|
||||
|
|
2
chosen/chosen.jquery.min.js
vendored
2
chosen/chosen.jquery.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,7 @@
|
|||
this.f_width = this.form_field.getStyle("width") ? parseInt(this.form_field.getStyle("width"), 10) : this.form_field.getWidth();
|
||||
container_props = {
|
||||
'id': this.container_id,
|
||||
'class': "chzn-container " + (this.is_rtl ? ' chzn-rtl' : void 0),
|
||||
'class': "chzn-container " + (this.is_rtl ? 'chzn-rtl' : ''),
|
||||
'style': 'width: ' + this.f_width + 'px'
|
||||
};
|
||||
this.default_text = this.form_field.readAttribute('data-placeholder') ? this.form_field.readAttribute('data-placeholder') : this.default_text_default;
|
||||
|
|
2
chosen/chosen.proto.min.js
vendored
2
chosen/chosen.proto.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -48,7 +48,7 @@ class Chosen
|
|||
|
||||
container_div = ($ "<div />", {
|
||||
id: @container_id
|
||||
class: "chzn-container #{' chzn-rtl' if @is_rtl}"
|
||||
class: "chzn-container #{ if @is_rtl then 'chzn-rtl' else '' }"
|
||||
style: 'width: ' + (@f_width) + 'px;' #use parens around @f_width so coffeescript doesn't think + ' px' is a function parameter
|
||||
})
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ class Chosen
|
|||
|
||||
container_props =
|
||||
'id': @container_id
|
||||
'class': "chzn-container #{' chzn-rtl' if @is_rtl}"
|
||||
'class': "chzn-container #{ if @is_rtl then 'chzn-rtl' else '' }"
|
||||
'style': 'width: ' + (@f_width) + 'px' #use parens around @f_width so coffeescript doesn't think + ' px' is a function parameter
|
||||
|
||||
@default_text = if @form_field.readAttribute 'data-placeholder' then @form_field.readAttribute 'data-placeholder' else @default_text_default
|
||||
|
|
Loading…
Reference in a new issue