mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 23:53:29 +02:00
Refactored Control HotKeys to its own controller.
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user