modify style

This commit is contained in:
MaysWind 2016-06-22 22:23:18 +08:00
parent 4618117374
commit 6d6e72d809
2 changed files with 10 additions and 2 deletions

View file

@ -1,7 +1,7 @@
(function () { (function () {
'use strict'; 'use strict';
angular.module('ariaNg').controller('NewTaskController', ['$rootScope', '$scope', '$location', 'aria2SettingService', 'aria2TaskService', function ($rootScope, $scope, $location, aria2SettingService, aria2TaskService) { angular.module('ariaNg').controller('NewTaskController', ['$rootScope', '$scope', '$location', '$timeout', 'aria2SettingService', 'aria2TaskService', function ($rootScope, $scope, $location, $timeout, aria2SettingService, aria2TaskService) {
var tabOrders = ['download', 'options']; var tabOrders = ['download', 'options'];
$scope.context = { $scope.context = {
@ -92,5 +92,9 @@
optionStatus.setReady(); optionStatus.setReady();
}; };
$rootScope.loadPromise = $timeout(function () {
;//Do Nothing
}, 100);
}]); }]);
})(); })();

View file

@ -1,7 +1,7 @@
(function () { (function () {
'use strict'; 'use strict';
angular.module('ariaNg').controller('AriaNgSettingsController', ['$scope', 'ariaNgLanguages', 'ariaNgCommonService', 'ariaNgSettingService', function ($scope, ariaNgLanguages, ariaNgCommonService, ariaNgSettingService) { angular.module('ariaNg').controller('AriaNgSettingsController', ['$rootScope', '$scope', '$timeout', 'ariaNgLanguages', 'ariaNgCommonService', 'ariaNgSettingService', function ($rootScope, $scope, $timeout, ariaNgLanguages, ariaNgCommonService, ariaNgSettingService) {
$scope.context = { $scope.context = {
languages: ariaNgLanguages, languages: ariaNgLanguages,
availableTime: ariaNgCommonService.getTimeOptions([1000, 2000, 3000, 5000, 10000, 30000, 60000], true), availableTime: ariaNgCommonService.getTimeOptions([1000, 2000, 3000, 5000, 10000, 30000, 60000], true),
@ -9,5 +9,9 @@
}; };
$scope.settingService = ariaNgSettingService; $scope.settingService = ariaNgSettingService;
$rootScope.loadPromise = $timeout(function () {
;//Do Nothing
}, 100);
}]); }]);
})(); })();