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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

eallen
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 <[hidden email]>
Authored: Mon Jun 19 13:23:36 2017 -0400
Committer: Ernest Allen <[hidden email]>
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: [hidden email]
For additional commands, e-mail: [hidden email]