GUI -- Fixed Firefox bug - can now upload application on App View.
(cherry-pick of 6c82adeea0fe260a432f3c4111fc52e6943caa92)
Change-Id: I6ceab24a35a9143e5f04fa03b1c90bd61f8b06f8
diff --git a/web/gui/src/main/webapp/app/view/app/app.js b/web/gui/src/main/webapp/app/view/app/app.js
index 764447e..c8ecf72 100644
--- a/web/gui/src/main/webapp/app/view/app/app.js
+++ b/web/gui/src/main/webapp/app/view/app/app.js
@@ -34,6 +34,10 @@
function ($log, $scope, $http, fs, tbs, wss, ufs) {
$scope.ctrlBtnState = {};
+ $scope.uploadTip = 'Upload an application (.oar file)';
+ $scope.activateTip = 'Activate selected application';
+ $scope.deactivateTip = 'Deactivate selected application';
+ $scope.uninstallTip = 'Uninstall selected application';
function selCb($event, row) {
// selId comes from tableBuilder
@@ -102,7 +106,7 @@
link: function (scope, elem) {
elem.bind('click', function () {
document.getElementById('uploadFile')
- .dispatchEvent(new Event('click'));
+ .dispatchEvent(new MouseEvent('click'));
});
}
};