This commit is contained in:
Michael Pearce 2018-01-23 21:58:21 +00:00
commit 314a9d5465
6 changed files with 18 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {