incremental
diff --git a/static/js/bmcApp.js b/static/js/bmcApp.js
index d4282ba..7d31cc2 100644
--- a/static/js/bmcApp.js
+++ b/static/js/bmcApp.js
@@ -10,7 +10,6 @@
'ngResource'
]);
-
app.controller('MainCtrl', ['$scope', function($scope) {
}]);
@@ -71,8 +70,8 @@
}
}]);
-app.run(['$rootScope', '$cookieStore', '$state', '$resource', 'AuthenticationService',
- function($rootScope, $cookieStore, $state, $resource, AuthenticationService) {
+app.run(['$rootScope', '$cookieStore', '$state', '$resource', 'AuthenticationService', '$http', '$templateCache',
+ function($rootScope, $cookieStore, $state, $resource, AuthenticationService, $http, $templateCache) {
if ($rootScope.globals == undefined){
$rootScope.globals = {};
}
@@ -91,6 +90,8 @@
$state.go('login');
}
});
+
+ $http.get('static/partial-kvm.html', { cache: $templateCache });
}
]);
diff --git a/static/js/kvmController.js b/static/js/kvmController.js
index d10a223..e3dcb14 100644
--- a/static/js/kvmController.js
+++ b/static/js/kvmController.js
@@ -24,7 +24,8 @@
'onUpdateState': updateState,
//'onXvpInit': xvpInit,
'onFBUComplete': FBUComplete,
- 'onDesktopName': updateDesktopName
+ 'onDesktopName': updateDesktopName,
+ 'foobar': 1
});
rfb.connect(host, port, password, path);
} catch (exc) {