This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-23
lines changed Expand file tree Collapse file tree 3 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 2
2
ng-show ="$select.open && $select.items.length > 0 ">
3
3
< li class ="ui-select-choices-group " id ="ui-select-choices-{{ $select.generatedId }} " >
4
4
< div class ="divider " ng-show ="$select.isGrouped && $index > 0 "> </ div >
5
- < div ng-show ="$select.isGrouped " class ="ui-select-choices-group-label dropdown-header " ng-bind ="$group.name " ng-click =" $select.headerClick($group) " > </ div >
5
+ < div ng-show ="$select.isGrouped " class ="ui-select-choices-group-label dropdown-header " ng-bind ="$group.name "> </ div >
6
6
< div ng-attr-id ="ui-select-choices-row-{{ $select.generatedId }}-{{$index}} " class ="ui-select-choices-row "
7
7
ng-class ="{active: $select.isActive(this), disabled: $select.isDisabled(this)} " role ="option ">
8
8
< span class ="ui-select-choices-row-inner "> </ span >
Original file line number Diff line number Diff line change @@ -253,15 +253,6 @@ body > .ui-select-bootstrap.open {
253
253
border-right : 1px solid # 428bca ;
254
254
}
255
255
256
- .ui-select-bootstrap .ui-select-choices-group-label .dropdown-header : hover {
257
- background-color : # f5f5f5 ;
258
- }
259
-
260
- .ui-select-bootstrap .ui-select-choices-group-label .dropdown-header {
261
- color : black;
262
- cursor : pointer;
263
- }
264
-
265
256
.ui-select-bootstrap .ui-select-choices-row > span {
266
257
cursor : pointer;
267
258
display : block;
Original file line number Diff line number Diff line change @@ -61,19 +61,6 @@ uis.controller('uiSelectCtrl',
61
61
throw uiSelectMinErr ( 'searchInput' , "Expected 1 input.ui-select-search but got '{0}'." , ctrl . searchInput . length ) ;
62
62
}
63
63
64
- ctrl . headerClick = function ( g ) {
65
- function sendItem ( item ) {
66
- $timeout ( function ( ) {
67
- ctrl . select ( item , false , ' ' ) ;
68
- } ) ;
69
- }
70
-
71
- var items = g . items ;
72
- for ( var i = 0 ; i < items . length ; i ++ ) {
73
- sendItem ( items [ i ] ) ;
74
- }
75
- } ;
76
-
77
64
ctrl . isEmpty = function ( ) {
78
65
return isNil ( ctrl . selected ) || ctrl . selected === '' || ( ctrl . multiple && ctrl . selected . length === 0 ) ;
79
66
} ;
You can’t perform that action at this time.
0 commit comments