forms-angular 0.12.0-beta.296 → 0.12.0-beta.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5612,15 +5612,15 @@ var fng;
|
|
|
5612
5612
|
NavCtrl.$inject = ["$rootScope", "$window", "$scope", "$filter", "RoutingService", "CssFrameworkService", "SecurityService"];
|
|
5613
5613
|
function NavCtrl($rootScope, $window, $scope, $filter, RoutingService, CssFrameworkService, SecurityService) {
|
|
5614
5614
|
var _a;
|
|
5615
|
-
function
|
|
5615
|
+
$scope.clearContextMenu = function () {
|
|
5616
5616
|
$scope.items = [];
|
|
5617
5617
|
$scope.contextMenu = undefined;
|
|
5618
5618
|
$scope.contextMenuId = undefined;
|
|
5619
5619
|
$scope.contextMenuHidden = undefined;
|
|
5620
5620
|
$scope.contextMenuDisabled = undefined;
|
|
5621
|
-
}
|
|
5621
|
+
};
|
|
5622
5622
|
$rootScope.navScope = $scope; // Lets plugins access menus
|
|
5623
|
-
clearContextMenu();
|
|
5623
|
+
$scope.clearContextMenu();
|
|
5624
5624
|
$scope.toggleCollapsed = function () {
|
|
5625
5625
|
$scope.collapsed = !$scope.collapsed;
|
|
5626
5626
|
};
|
|
@@ -5731,7 +5731,7 @@ var fng;
|
|
|
5731
5731
|
}
|
|
5732
5732
|
});
|
|
5733
5733
|
$scope.$on('fngControllersUnloaded', function (evt) {
|
|
5734
|
-
clearContextMenu();
|
|
5734
|
+
$scope.clearContextMenu();
|
|
5735
5735
|
});
|
|
5736
5736
|
$scope.doClick = function (index, event, item) {
|
|
5737
5737
|
var option = angular.element(event.target);
|