GUI -- Fixed Firefox bug - can now upload application on App View.
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 9552eda..7cc081c 100644
--- a/web/gui/src/main/webapp/app/view/app/app.js
+++ b/web/gui/src/main/webapp/app/view/app/app.js
@@ -35,7 +35,7 @@
function ($log, $scope, $http, fs, tbs, wss, ufs, ks) {
$scope.ctrlBtnState = {};
- $scope.uploadTip = 'Upload an application';
+ $scope.uploadTip = 'Upload an application (.oar file)';
$scope.activateTip = 'Activate selected application';
$scope.deactivateTip = 'Deactivate selected application';
$scope.uninstallTip = 'Uninstall selected application';
@@ -120,7 +120,7 @@
link: function (scope, elem) {
elem.bind('click', function () {
document.getElementById('uploadFile')
- .dispatchEvent(new Event('click'));
+ .dispatchEvent(new MouseEvent('click'));
});
}
};