GUI -- Fixed Firefox bug - can now upload application on App View.
Change-Id: I6ceab24a35a9143e5f04fa03b1c90bd61f8b06f8
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | 35 | ||
36 | function ($log, $scope, $http, fs, tbs, wss, ufs, ks) { | 36 | function ($log, $scope, $http, fs, tbs, wss, ufs, ks) { |
37 | $scope.ctrlBtnState = {}; | 37 | $scope.ctrlBtnState = {}; |
38 | - $scope.uploadTip = 'Upload an application'; | 38 | + $scope.uploadTip = 'Upload an application (.oar file)'; |
39 | $scope.activateTip = 'Activate selected application'; | 39 | $scope.activateTip = 'Activate selected application'; |
40 | $scope.deactivateTip = 'Deactivate selected application'; | 40 | $scope.deactivateTip = 'Deactivate selected application'; |
41 | $scope.uninstallTip = 'Uninstall selected application'; | 41 | $scope.uninstallTip = 'Uninstall selected application'; |
... | @@ -120,7 +120,7 @@ | ... | @@ -120,7 +120,7 @@ |
120 | link: function (scope, elem) { | 120 | link: function (scope, elem) { |
121 | elem.bind('click', function () { | 121 | elem.bind('click', function () { |
122 | document.getElementById('uploadFile') | 122 | document.getElementById('uploadFile') |
123 | - .dispatchEvent(new Event('click')); | 123 | + .dispatchEvent(new MouseEvent('click')); |
124 | }); | 124 | }); |
125 | } | 125 | } |
126 | }; | 126 | }; | ... | ... |
-
Please register or login to post a comment