Pass cookies into function
This was missed in the websocket upgrade.
Change-Id: Id2256fa87d728d71790d3046d280449feefe326c
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/app/server-control/directives/kvm-console.js b/app/server-control/directives/kvm-console.js
index f00d802..f5dae37 100644
--- a/app/server-control/directives/kvm-console.js
+++ b/app/server-control/directives/kvm-console.js
@@ -13,7 +13,7 @@
angular.module('app.serverControl').directive('kvmConsole', [
'$log', '$cookies', '$location',
- function($log, $location) {
+ function($log, $cookies, $location) {
return {
restrict: 'E', template: require('./kvm-console.html'),
scope: {newWindowBtn: '=?'}, link: function(scope, element) {