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 22 ng-show ="$select.open && $select.items.length > 0 ">
33 < li class ="ui-select-choices-group " id ="ui-select-choices-{{ $select.generatedId }} " >
44 < 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 >
66 < div ng-attr-id ="ui-select-choices-row-{{ $select.generatedId }}-{{$index}} " class ="ui-select-choices-row "
77 ng-class ="{active: $select.isActive(this), disabled: $select.isDisabled(this)} " role ="option ">
88 < 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 {
253253 border-right : 1px solid # 428bca ;
254254}
255255
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-
265256.ui-select-bootstrap .ui-select-choices-row > span {
266257 cursor : pointer;
267258 display : block;
Original file line number Diff line number Diff line change @@ -61,19 +61,6 @@ uis.controller('uiSelectCtrl',
6161 throw uiSelectMinErr ( 'searchInput' , "Expected 1 input.ui-select-search but got '{0}'." , ctrl . searchInput . length ) ;
6262 }
6363
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-
7764 ctrl . isEmpty = function ( ) {
7865 return isNil ( ctrl . selected ) || ctrl . selected === '' || ( ctrl . multiple && ctrl . selected . length === 0 ) ;
7966 } ;
You can’t perform that action at this time.
0 commit comments