Roo/bootstrap/Form.js
authoredward <edward@roojs.com>
Tue, 9 Jan 2018 05:45:45 +0000 (13:45 +0800)
committeredward <edward@roojs.com>
Tue, 9 Jan 2018 05:45:45 +0000 (13:45 +0800)
Roo/bootstrap/Form.js

index b5111f9..0abc98f 100644 (file)
@@ -616,7 +616,7 @@ Roo.apply(Roo.bootstrap.Form, {
             
             var scrollable = this.target.el.findScrollableParent() || this.target.el.findParent('div.modal', 100, true) || Roo.get(document.body);
             
-//            scrollable = Roo.get(document.documentElement) || Roo.get(document.body.parentNode) || Roo.get(document.body);
+            scrollable = Roo.get(document.documentElement) || Roo.get(document.body);
             
             var ot = this.target.el.calcOffsetsTo(scrollable);