summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/file-opener/file-opener.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/directives/file-opener/file-opener.ts')
-rw-r--r--catalog-ui/src/app/directives/file-opener/file-opener.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/catalog-ui/src/app/directives/file-opener/file-opener.ts b/catalog-ui/src/app/directives/file-opener/file-opener.ts
index c09d6fc553..4abd2573bb 100644
--- a/catalog-ui/src/app/directives/file-opener/file-opener.ts
+++ b/catalog-ui/src/app/directives/file-opener/file-opener.ts
@@ -51,8 +51,9 @@ export class FileOpenerDirective implements ng.IDirective {
scope.onFileSelect = () => {
scope.onFileUpload({file: scope.importFile});
- element.html('app/directives/file-opener/file-opener.html');
- this.$compile(element.contents())(scope);
+ // fix bug 311261
+ // element.html('app/directives/file-opener/file-opener.html');
+ // this.$compile(element.contents())(scope);
};
scope.getExtensionsWithDot = ():string => {