From 44147697b5a11094b6be69a7be2c7394eca80e0e Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Thu, 17 Mar 2016 16:51:46 -0400 Subject: add profile name menu #133 Former-commit-id: e90058e728cd1688a4083e9ce3f5dd70ab9ea116 --- www/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index 298644c4..59d95815 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -727,7 +727,11 @@ angular.module('zmApp', [ }); - + $rootScope.getProfileName = function() + { + var ld = ZMDataModel.getLogin(); + return (ld.serverName || '(none)'); + }; //------------------------------------------------------------------ // doLogin() is the function that tries to login to ZM -- cgit v1.2.3