File tree Expand file tree Collapse file tree
app/assets/javascripts/rails_admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 return { label : $ ( this ) . text ( ) , value : this . value } ;
4040 } ) . toArray ( ) ;
4141 }
42- var filtering_select = $ ( '<div class="input-append filtering-select" style="float:left"></div>' )
42+ var filtering_select = $ ( '<div class="input-group filtering-select col-sm-2 " style="float:left"></div>' )
4343 var input = this . input = $ ( '<input type="text">' )
4444 . val ( value )
4545 . addClass ( "form-control ra-filtering-select-input" )
9898 . appendTo ( ul ) ;
9999 } ;
100100
101- // replace with dropdown button once ready in twitter-bootstrap
102- var button = this . button = $ ( '<label class="add-on ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only" title="Show All Items" role="button"><span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"></span><span class="ui-button-text"> </span></label>' )
101+ var button = this . button = $ ( '<span class="input-group-btn"><label class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="Show All Items" role="button"><span class="caret"></span><span class="ui-button-text"> </span></label></span>' )
103102 . click ( function ( ) {
104103 // close if already visible
105104 if ( input . autocomplete ( "widget" ) . is ( ":visible" ) ) {
You can’t perform that action at this time.
0 commit comments