mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 07:35:39 +00:00
(js/css) Update generated files
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
!function(){"use strict";angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),n.$inject=["$scope","$window","$timeout","Dialog","$mdDialog","Authentication"];function n(n,o,t,e,i,a){var l=this;this.$onInit=function(){this.creds={username:o.cookieUsername,password:null,rememberLogin:angular.isDefined(o.cookieUsername)&&o.cookieUsername.length>0},/\blanguage=/.test(o.location.search)&&(this.creds.language=o.language),this.loginState=!1,this.showLogin=!1,t(function(){l.showLogin=!0},100)},this.login=function(){return l.loginState="authenticating",a.login(l.creds).then(function(n){l.loginState="logged",l.cn=n.cn,t(function(){o.location.href===n.url?o.location.reload(!0):o.location.href=n.url},1e3)},function(n){l.loginState="error",l.errorMessage=n.error}),!1},this.showAbout=function(n){i.show({targetEvent:n,templateUrl:"aboutBox.html",controller:o,controllerAs:"about"}),o.$inject=["$mdDialog"];function o(n){this.closeDialog=function(){n.hide()}}},this.changeLanguage=function(n){o.location.href=ApplicationBaseURL+"login?language="+this.creds.language}}angular.module("SOGo.MainUI").controller("LoginController",n)}();
|
||||
!function(){"use strict";function a(a,b,c,d,e,f){var g=this;this.$onInit=function(){this.creds={username:b.cookieUsername,password:null,rememberLogin:angular.isDefined(b.cookieUsername)&&b.cookieUsername.length>0},/\blanguage=/.test(b.location.search)&&(this.creds.language=b.language),this.loginState=!1,this.showLogin=!1,c(function(){g.showLogin=!0},100)},this.login=function(){return g.loginState="authenticating",f.login(g.creds).then(function(a){g.loginState="logged",g.cn=a.cn,c(function(){b.location.href===a.url?b.location.reload(!0):b.location.href=a.url},1e3)},function(a){g.loginState="error",g.errorMessage=a.error}),!1},this.showAbout=function(a){function b(a){this.closeDialog=function(){a.hide()}}e.show({targetEvent:a,templateUrl:"aboutBox.html",controller:b,controllerAs:"about"}),b.$inject=["$mdDialog"]},this.changeLanguage=function(a){b.location.href=ApplicationBaseURL+"login?language="+this.creds.language}}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),a.$inject=["$scope","$window","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",a)}();
|
||||
//# sourceMappingURL=Main.js.map
|
||||
Reference in New Issue
Block a user