Jelajahi Sumber

[oozie] Fix for an additional overlay problem on FF

Enrico Berti 10 tahun lalu
induk
melakukan
f0b3037356

+ 1 - 2
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -359,8 +359,6 @@ ${ workflow.render() }
 
 </div>
 
-<div id="exposeOverlay"></div>
-
 <link rel="stylesheet" href="${ static('desktop/ext/css/hue-filetypes.css') }">
 <link rel="stylesheet" href="${ static('desktop/ext/css/hue-charts.css') }">
 <link rel="stylesheet" href="${ static('desktop/ext/chosen/chosen.min.css') }">
@@ -394,6 +392,7 @@ ${ dashboard.import_bindings() }
 % endif
 </style>
 
+<div id="exposeOverlay"></div>
 
 <script type="text/javascript">
   ${ utils.slaGlobal() }

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -1225,6 +1225,7 @@ function getFileBrowseButton(inputElement, selectFolder, valueAccessor, stripHdf
       $("#chooseFile").modal("show");
       $("#chooseFile").on("hidden", function(){
         $("html").removeClass("modal-open");
+        $(".modal-backdrop").remove();
       });
     }