File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/easyapache4/views/yumUpdate.min.js
Back
define(["angular","cjt/util/locale","lodash","cjt/services/alertService","cjt/directives/alertList","app/services/ea4Data","app/services/ea4Util","app/services/pkgResolution"],(function(angular,LOCALE,_){var app=angular.module("App");app.controller("yumUpdate",["$scope","$location","ea4Data","ea4Util","alertService","growl","growlMessages",function($scope,$location,ea4Data,ea4Util,alertService,growl,growlMessages){$scope.fixFailed=false;var fixYumCache=function(){$scope.fixingYum=true;ea4Data.fixYumCache().then((function(result){if(result.status&&result.data.cache_seems_ok_now){app.firstLoad=false;ea4Data.setData({ea4ThrewError:false});$location.path("profile")}else{$scope.fixFailed=true}}),(function(error){$scope.fixFailed=true})).finally((function(){$scope.fixingYum=false}))};$scope.$on("$viewContentLoaded",(function(){growlMessages.destroyAllMessages();var error=ea4Data.getData("ea4ThrewError");if(error){fixYumCache()}}))}])}));
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings