mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
(js/css) Update generated files
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
!function(){"use strict";function LoginController($scope,$timeout,Dialog,$mdDialog,Authentication){function login(){return Authentication.login(vm.creds).then(function(url){window.location.href=url},function(msg){Dialog.alert(l("Authentication Failed"),msg.error)}),!1}function showAbout($event){function AboutDialogController($mdDialog){this.closeDialog=function(){$mdDialog.hide()}}$mdDialog.show({targetEvent:$event,templateUrl:"aboutBox.html",controller:AboutDialogController,controllerAs:"about"}),AboutDialogController.$inject=["$mdDialog"]}var vm=this;vm.creds={username:cookieUsername,password:null},vm.login=login,vm.showAbout=showAbout,vm.showLogin=!1,$timeout(function(){vm.showLogin=!0},100)}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),LoginController.$inject=["$scope","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",LoginController)}();
|
||||
(function(){"use strict";angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]);LoginController.$inject=["$scope","$timeout","Dialog","$mdDialog","Authentication"];function LoginController($scope,$timeout,Dialog,$mdDialog,Authentication){var vm=this;vm.creds={username:cookieUsername,password:null};vm.login=login;vm.showAbout=showAbout;vm.showLogin=false;$timeout(function(){vm.showLogin=true},100);function login(){Authentication.login(vm.creds).then(function(url){if(window.location.href===url)window.location.reload(true);else window.location.href=url},function(msg){Dialog.alert(l("Authentication Failed"),msg.error)});return false}function showAbout($event){$mdDialog.show({targetEvent:$event,templateUrl:"aboutBox.html",controller:AboutDialogController,controllerAs:"about"});AboutDialogController.$inject=["$mdDialog"];function AboutDialogController($mdDialog){this.closeDialog=function(){$mdDialog.hide()}}}}angular.module("SOGo.MainUI").controller("LoginController",LoginController)})();
|
||||
//# sourceMappingURL=Main.js.map
|
||||
Reference in New Issue
Block a user