Pārlūkot izejas kodu

[oozie] Fixed side drop zone height change

Enrico Berti 11 gadi atpakaļ
vecāks
revīzija
c93a081

+ 5 - 1
apps/oozie/src/oozie/templates/editor/workflow_editor.mako

@@ -864,7 +864,11 @@ ${ dashboard.import_bindings() }
 
   function resizeDrops() {
     $(".drop-target-side").each(function () {
-      $(this).height($(this).parent().parent().innerHeight() - 12);
+      var _el = $(this);
+      _el.height(0);
+      window.setTimeout(function(){
+        _el.height(_el.parent().parent().innerHeight() - 12);
+      }, 20);
     });
   }