Refactored Control HotKeys to its own controller.

This commit is contained in:
Gunther Brunner
2014-07-04 15:32:26 +09:00
parent 72c6de0414
commit 659ffa6d8e
5 changed files with 88 additions and 58 deletions

View File

@@ -1,9 +1,7 @@
var ControlPanesHotkeys = require('./control-panes-hotkeys')
module.exports =
function ControlPanesController($scope, $http, gettext, $routeParams,
$timeout, $location, DeviceService, GroupService, ControlService,
StorageService, FatalMessageService, hotkeys, $filter) {
StorageService, FatalMessageService) {
var sharedTabs = [
{
@@ -183,6 +181,4 @@ module.exports =
}, true)
ControlPanesHotkeys($scope, hotkeys, $filter, gettext)
}