浏览代码

[oozie] Fixed side drop zone height change

Enrico Berti 11 年之前
父节点
当前提交
c93a081
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      apps/oozie/src/oozie/templates/editor/workflow_editor.mako

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

@@ -864,7 +864,11 @@ ${ dashboard.import_bindings() }
 
 
   function resizeDrops() {
   function resizeDrops() {
     $(".drop-target-side").each(function () {
     $(".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);
     });
     });
   }
   }