Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 5dfabd4

Browse files
committed
Remove first system
1 parent fc5b26c commit 5dfabd4

File tree

3 files changed

+1
-23
lines changed

3 files changed

+1
-23
lines changed

src/bootstrap/choices.tpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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>

src/common.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff 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;

src/uiSelectController.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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
};

0 commit comments

Comments
 (0)