Viewing File: /usr/local/cpanel/base/frontend/jupiter/mail/authentication/manage.min.js

define(["angular","cjt/core","cjt/modules","uiBootstrap","ngRoute"],(function(e,t){"use strict";return function(){return e.module("App",["ui.bootstrap","cjt2.cpanel"]),require(["uiBootstrap","cjt/directives/alert","cjt/directives/alertList","cjt/services/alertService","app/services/manageService","app/views/manageController"],(function(){var r=e.module("App");r.controller("BaseController",["$rootScope","$scope","$route","$location","manageService","alertService",function(e,t,r,n,o,i){t.loading=!1,e.$on("$routeChangeStart",(function(){t.loading=!0})),e.$on("$routeChangeSuccess",(function(){t.loading=!1})),e.$on("$routeChangeError",(function(){t.loading=!1})),t.current_route_matches=function(e){return n.path().match(e)},t.go=function(e){n.path(e)},window.service=o}]),r.config(["$routeProvider","$locationProvider",function(e,r){e.when("/:username",{controller:"manageController",templateUrl:t.buildFullPath("mail/authentication/views/manageView.ptt"),resolve:{providers:["manageService","$route","alertService",function(e,t,r){return e.fetch_links(t.current.params.username).then((function(e){}),(function(e){r.add({type:"danger",message:LOCALE.maketext("The system encountered an error while it tried to retrieve results, please refresh the interface: [_1]",e),closeable:!0,replace:!1,group:"emailExternalAuth"})}))}]}}),e.otherwise({redirectTo:"/:username"})}]),r.init=function(){var t=e.element("#content");return null!==t[0]&&e.bootstrap(t[0],["App"]),r},r.init()}))}}));
Back to Directory File Manager