Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/easyapache4/views/extensions.js

/*
# templates/easyapache4/views/extensions.js                  Copyright(c) 2020 cPanel, L.L.C.
#                                                                   All rights reserved.
# copyright@cpanel.net                                                 http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
*/

/* global define: false */

define(
    [
        "angular"
    ],
    function(angular) {

        // Retrieve the current application
        var app = angular.module("App");

        app.controller("extensions",
            ["$scope",
                function($scope) {
                    $scope.$on("$viewContentLoaded", function() {
                        $scope.customize.loadData("extensions");
                    });
                }
            ]
        );
    }
);
Back to Directory File Manager