Fix Bug 47147
This commit is contained in:
parent
444db6f38f
commit
dc40050edc
|
@ -451,7 +451,8 @@ define([
|
|||
onApiBullets: function(data) {
|
||||
var type = data.get_ListType(),
|
||||
subtype = data.get_ListSubType();
|
||||
|
||||
$('.dataview.bullets li').removeClass('active');
|
||||
$('.dataview.numbers li').removeClass('active');
|
||||
switch (type) {
|
||||
case 0:
|
||||
$('.dataview.bullets li[data-type=' + subtype + ']').addClass('active');
|
||||
|
@ -459,6 +460,9 @@ define([
|
|||
case 1:
|
||||
$('.dataview.numbers li[data-type=' + subtype + ']').addClass('active');
|
||||
break;
|
||||
default:
|
||||
$('.dataview.bullets li[data-type="-1"]').addClass('active');
|
||||
$('.dataview.numbers li[data-type="-1"]').addClass('active');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -544,7 +544,8 @@ define([
|
|||
onApiBullets: function(data) {
|
||||
var type = data.get_ListType(),
|
||||
subtype = data.get_ListSubType();
|
||||
|
||||
$('.dataview.bullets li').removeClass('active');
|
||||
$('.dataview.numbers li').removeClass('active');
|
||||
switch (type) {
|
||||
case 0:
|
||||
$('.dataview.bullets li[data-type=' + subtype + ']').addClass('active');
|
||||
|
@ -552,6 +553,9 @@ define([
|
|||
case 1:
|
||||
$('.dataview.numbers li[data-type=' + subtype + ']').addClass('active');
|
||||
break;
|
||||
default:
|
||||
$('.dataview.bullets li[data-type="-1"]').addClass('active');
|
||||
$('.dataview.numbers li[data-type="-1"]').addClass('active');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue