Viewing File: /usr/local/cpanel/base/frontend/jupiter/mail/calendars_and_contacts/index.cmb.min.js
define("app/views/configController",["angular","cjt/util/locale","uiBootstrap","cjt/filters/wrapFilter"],(function(o,n){var t=o.module("App");return t.controller("configController",["$scope",function(o){var c=function(o,t){return t=t||[],(o=o||[]).forEach((function(o){o.type=n.maketext("Calendar")})),t.forEach((function(o){o.type=n.maketext("Contacts")})),o.concat(t)};o.toggleInfoBlock=function(){o.showInfoBlock=!o.showInfoBlock},o.toggleNonSSL=function(){o.showNonSSL=!o.showNonSSL},t.firstLoad.config&&PAGE.config&&(t.firstLoad.config=!1,o.showInfoBlock=!1,o.showNonSSL=!1,o.config=PAGE.config,o.secureResources=c(PAGE.config.ssl.calendars,PAGE.config.ssl.contacts),o.resources=c(PAGE.config.no_ssl.calendars,PAGE.config.no_ssl.contacts))}])})),define("app/index",["angular","cjt/core","cjt/modules","ngRoute","uiBootstrap"],(function(o,n){return function(){return o.module("App",[PAGE.CJT2_ANGULAR_MODULE_NAME,"ngRoute","ui.bootstrap"]),require(["cjt/bootstrap","cjt/views/applicationController","app/views/configController"],(function(t){var c=o.module("App");c.firstLoad={config:!0},c.config(["$routeProvider",function(o){o.when("/config/",{controller:"configController",templateUrl:n.buildFullPath("mail/calendars_and_contacts/views/configView.ptt")}),o.otherwise({redirectTo:"/config/"})}]),t("#content","App")}))}}));
Back to Directory
File Manager