From 58e4a39bbe3f216f62b4f799fc055b27b3cd850c Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Mon, 10 Apr 2017 13:02:07 +0530 Subject: [PATCH] copied code from gitlab from develop brach, don't understand why showing modified file although had reset Develop --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/ADAMImgController.js | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/ADAMImgController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/ADAMImgController.js index cd347b2..534d59f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/ADAMImgController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/ADAMImgController.js @@ -1,20 +1,20 @@ -AIA.controller("ADAMImgController", ["$scope", "$rootScope", "pages", "$log","$location", -function ($scope, $rootScope, pages, log, $location) { - $scope.showTabButton = true; - $scope.IsVisible = function () { - $scope.scroll(); - - } - - $scope.scroll = function () { - // $window.scrollTo(0, 0); - $("html,body").scrollTop(0); - //alert("scroll"); - } - $scope.$on('$viewContentLoaded', function (event) { - // code that will be executed ... - // every time this view is loaded - +AIA.controller("ADAMImgController", ["$scope", "$rootScope", "pages", "$log", "$location", +function ($scope, $rootScope, pages, log, $location) { + $scope.showTabButton = true; + $scope.IsVisible = function () { + $scope.scroll(); + + } + + $scope.scroll = function () { + // $window.scrollTo(0, 0); + $("html,body").scrollTop(0); + //alert("scroll"); + } + $scope.$on('$viewContentLoaded', function (event) { + // code that will be executed ... + // every time this view is loaded + //get current path var currentURL = $location.path(); var selectedModuleName = ''; @@ -24,11 +24,11 @@ function ($scope, $rootScope, pages, log, $location) { selectedModuleName = value.name; } $rootScope.currentActiveModuleTitle = selectedModuleName; - }) - }) - -}] - - - + }) + }) + +}] + + + ); \ No newline at end of file -- libgit2 0.21.4