mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 05:29:18 +00:00
fix: remove code that causes upscrolling (#35140)
Co-authored-by: Dietmar Fischer <fischer@kk-software.de>
This commit is contained in:
@@ -772,12 +772,6 @@ $.extend(erpnext.item, {
|
|||||||
if (modal) {
|
if (modal) {
|
||||||
$(modal).removeClass("modal-dialog-scrollable");
|
$(modal).removeClass("modal-dialog-scrollable");
|
||||||
}
|
}
|
||||||
})
|
|
||||||
.on("awesomplete-close", () => {
|
|
||||||
let modal = field.$input.parents('.modal-dialog')[0];
|
|
||||||
if (modal) {
|
|
||||||
$(modal).addClass("modal-dialog-scrollable");
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user