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/05 17:56:28 UTC

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

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 5c243f250 -> 18d7b2c0b


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


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

Branch: refs/heads/master
Commit: 18d7b2c0bb7e05bc1867dc6101551b6060a06e67
Parents: 5c243f2
Author: Ernest Allen <ea...@redhat.com>
Authored: Mon Jun 5 13:56:08 2017 -0400
Committer: Ernest Allen <ea...@redhat.com>
Committed: Mon Jun 5 13:56:08 2017 -0400

----------------------------------------------------------------------
 console/stand-alone/plugin/js/qdrList.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/18d7b2c0/console/stand-alone/plugin/js/qdrList.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/qdrList.js b/console/stand-alone/plugin/js/qdrList.js
index b997cdb..727d0cb 100644
--- a/console/stand-alone/plugin/js/qdrList.js
+++ b/console/stand-alone/plugin/js/qdrList.js
@@ -85,8 +85,8 @@ var QDR = (function(QDR) {
       }
     ];
     $scope.operations = []
-      $scope.currentMode = $scope.modes[0];
-      $scope.isModeSelected = function (mode) {
+    $scope.currentMode = $scope.modes[0];
+    $scope.isModeSelected = function (mode) {
       return mode === $scope.currentMode;
     }
     $scope.fetchingLog = false;
@@ -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