From 8d1798f51550316224d07a628ff630ed4ab818f7 Mon Sep 17 00:00:00 2001 From: Eylon Malin Date: Mon, 29 Jul 2019 18:08:22 +0300 Subject: Revert "Add app version to welcome page" This reverts commit bfd2c1c8e5ceac2da1755d6dd232d10ebe659e63. Reason for revert: left menu is broken Issue-ID: VID-539 Signed-off-by: Eylon Malin Change-Id: I98674e6900dddb97cb25a1e687d6dd48b41da4c5 --- .../webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz') diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp index 8fece9d16..44fe53a88 100644 --- a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp @@ -246,7 +246,6 @@     {{app_name}} - {{app_version}}
@@ -314,7 +313,6 @@ fullName:'', email:'' } - $scope.app_version=""; /*Put user info into fields*/ $scope.inputUserInfo = function(userInfo){ if (typeof(userInfo) != "undefined" && userInfo!=null && userInfo!=''){ @@ -427,23 +425,7 @@ console.log('getAppName failed', error); }); - LeftMenuService.getAppVersion().then(function(response){ - var j = response; - try{ - if(j){ - $scope.app_version = j.displayVersion; - - }else{ - throw "Version response is not in expected format."; - } - }catch (e) { - console.log("Error happened while trying to get app version: "+e); - return; - } - },function(error){ - console.log('getAppVersion failed', error); - }); - + $scope.getTopMenuStaticInfo(); $scope.getMenu=function() { -- cgit 1.2.3-korg