mirror of
https://github.com/goharbor/harbor.git
synced 2025-03-02 10:41:59 +01:00
update for toggling page button.
This commit is contained in:
parent
8245eeaec9
commit
e44d445ee3
@ -169,7 +169,7 @@
|
|||||||
if(tc.canDecrement()) {
|
if(tc.canDecrement()) {
|
||||||
tc.decrement();
|
tc.decrement();
|
||||||
drawButtons(tc.getTime());
|
drawButtons(tc.getTime());
|
||||||
element.find('li[tag="pagination-button"] a[page="' + ctrl.page + '"]').trigger('click');
|
togglePageButton();
|
||||||
}
|
}
|
||||||
scope.$apply();
|
scope.$apply();
|
||||||
}
|
}
|
||||||
@ -178,7 +178,7 @@
|
|||||||
if(tc.canIncrement()) {
|
if(tc.canIncrement()) {
|
||||||
tc.increment();
|
tc.increment();
|
||||||
drawButtons(tc.getTime());
|
drawButtons(tc.getTime());
|
||||||
element.find('li[tag="pagination-button"] a[page="' + ctrl.page + '"]').trigger('click');
|
togglePageButton();
|
||||||
}
|
}
|
||||||
scope.$apply();
|
scope.$apply();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user