You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2017/06/19 17:23:55 UTC

qpid-dispatch git commit: DISPATCH-772 Show operations for selected entity when page loads for hawtio

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 47724c7c4 -> f520a0792


DISPATCH-772 Show operations for selected entity when page loads for hawtio


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/f520a079
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/f520a079
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/f520a079

Branch: refs/heads/master
Commit: f520a0792071e51b2815a15621695df93f48c0df
Parents: 47724c7
Author: Ernest Allen <ea...@redhat.com>
Authored: Mon Jun 19 13:23:36 2017 -0400
Committer: Ernest Allen <ea...@redhat.com>
Committed: Mon Jun 19 13:23:36 2017 -0400

----------------------------------------------------------------------
 console/hawtio/src/main/webapp/plugin/js/qdrList.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/f520a079/console/hawtio/src/main/webapp/plugin/js/qdrList.js
----------------------------------------------------------------------
diff --git a/console/hawtio/src/main/webapp/plugin/js/qdrList.js b/console/hawtio/src/main/webapp/plugin/js/qdrList.js
index 418460b..90426cd 100644
--- a/console/hawtio/src/main/webapp/plugin/js/qdrList.js
+++ b/console/hawtio/src/main/webapp/plugin/js/qdrList.js
@@ -741,10 +741,9 @@ var QDR = (function(QDR) {
       var sortedEntities = Object.keys(QDRService.schema.entityTypes).sort();
       sortedEntities.forEach( function (entity) {
         if (excludedEntities.indexOf(entity) == -1) {
-          if (!angular.isDefined($scope.selectedEntity)) {
+          if (!angular.isDefined($scope.selectedEntity))
             $scope.selectedEntity = entity;
-            $scope.operations = lookupOperations()
-          }
+          $scope.operations = lookupOperations()
           var e = new Folder(entity)
           e.typeName = "entity"
           e.key = entity


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org