소스 검색

[oozie] Remove autoscroll

Enrico Berti 11 년 전
부모
커밋
857a7930f2
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      apps/oozie/src/oozie/templates/editor/workflow_editor.mako

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

@@ -1686,11 +1686,7 @@ ${ dashboard.import_bindings() }
         });
         _el.animate({
           "width": _width < $(window).width()/2 ? $(window).width()/2 : _width
-        }, 200, function () {
-          if ($(document).width() > $(window).width()) {
-            $(document).scrollLeft($(document).width() - $(window).width());
-          }
-        });
+        }, 200);
         _el.find(".prop-editor").show();
 
         $("#exposeOverlay").fadeIn(300);