@@ -59,7 +59,6 @@ angular.module( 'multi-select', ['ng'] ).directive( 'multiSelect' , [ '$sce', '$
59
59
// settings based on input model property
60
60
tickProperty : '@' ,
61
61
disableProperty : '@' ,
62
- << < << << HEAD
63
62
groupProperty : '@' ,
64
63
65
64
// callbacks
@@ -452,12 +451,8 @@ angular.module( 'multi-select', ['ng'] ).directive( 'multiSelect' , [ '$sce', '$
452
451
453
452
// refresh button label...
454
453
if ( $scope . selectedItems . length === 0 ) {
455
- < << << << HEAD
456
454
// https://github.com/isteven/angular-multi-select/pull/19
457
455
$scope . varButtonLabel = ( typeof $scope . defaultLabel !== 'undefined' ) ? $scope . defaultLabel : 'None selected' ;
458
- = === ===
459
- $scope . varButtonLabel = ( $scope . defaultLabel ) ? $scope . defaultLabel : 'None selected' ;
460
- > >>> >>> 93 c81c29e84ff5859b4d4b294b04687f2198493e
461
456
}
462
457
else {
463
458
var tempMaxLabels = $scope . selectedItems . length ;
@@ -483,19 +478,12 @@ angular.module( 'multi-select', ['ng'] ).directive( 'multiSelect' , [ '$sce', '$
483
478
} ) ;
484
479
485
480
if ( $scope . more === true ) {
486
- < << << << HEAD
487
481
// https://github.com/isteven/angular-multi-select/pull/16
488
482
if ( tempMaxLabels > 0 ) {
489
483
$scope . varButtonLabel += ', ... ' ;
490
484
}
491
485
$scope . varButtonLabel += '(Total: ' + $scope . selectedItems . length + ')' ;
492
- =======
493
- if (tempMaxLabels > 0 ) {
494
- $scope . varButtonLabel += ', ... ' ;
495
- }
496
486
497
- $scope.varButtonLabel += '(Total: ' + $scope.selectedItems.length + ')';
498
- >>> >>> > 93 c81c29e84ff5859b4d4b294b04687f2198493e
499
487
}
500
488
}
501
489
$scope . varButtonLabel = $sce . trustAsHtml ( $scope . varButtonLabel + '<span class="caret"></span>' ) ;
0 commit comments