ARTEMIS-1580 Browsing in hawtio console does not allow to show empty pages
This commit is contained in:
parent
434841b14f
commit
06d27b4045
|
@ -186,6 +186,9 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
if (parseInt(newVal.currentPage) && newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
|
||||
$scope.loadTable();
|
||||
}
|
||||
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
|
||||
$scope.pagingOptions.currentPage = 1;
|
||||
}
|
||||
}, true);
|
||||
|
||||
function getBrokerMBean(jolokia) {
|
||||
|
|
|
@ -223,6 +223,9 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
if (parseInt(newVal.currentPage) && newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
|
||||
$scope.loadTable();
|
||||
}
|
||||
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
|
||||
$scope.pagingOptions.currentPage = 1;
|
||||
}
|
||||
}, true);
|
||||
|
||||
function getBrokerMBean(jolokia) {
|
||||
|
|
|
@ -247,6 +247,9 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
if (parseInt(newVal.currentPage) && newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
|
||||
$scope.loadTable();
|
||||
}
|
||||
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
|
||||
$scope.pagingOptions.currentPage = 1;
|
||||
}
|
||||
}, true);
|
||||
|
||||
function getBrokerMBean(jolokia) {
|
||||
|
|
|
@ -212,6 +212,9 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
if (parseInt(newVal.currentPage) && newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
|
||||
$scope.loadTable();
|
||||
}
|
||||
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
|
||||
$scope.pagingOptions.currentPage = 1;
|
||||
}
|
||||
}, true);
|
||||
|
||||
function getBrokerMBean(jolokia) {
|
||||
|
|
|
@ -286,6 +286,9 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
if (parseInt(newVal.currentPage) && newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
|
||||
$scope.loadTable();
|
||||
}
|
||||
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
|
||||
$scope.pagingOptions.currentPage = 1;
|
||||
}
|
||||
}, true);
|
||||
|
||||
function getBrokerMBean(jolokia) {
|
||||
|
|
|
@ -242,6 +242,9 @@ var ARTEMIS = (function(ARTEMIS) {
|
|||
if (parseInt(newVal.currentPage) && newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
|
||||
$scope.loadTable();
|
||||
}
|
||||
if (parseInt(newVal.pageSize) && newVal !== oldVal && newVal.pageSize !== oldVal.pageSize) {
|
||||
$scope.pagingOptions.currentPage = 1;
|
||||
}
|
||||
}, true);
|
||||
|
||||
function getBrokerMBean(jolokia) {
|
||||
|
|
Loading…
Reference in New Issue