You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2021/03/15 12:38:40 UTC
[ofbiz-framework] branch trunk updated: Fixed: Page selection is
not working correctly in the lookup-dialog (#287)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new d6eaef2 Fixed: Page selection is not working correctly in the lookup-dialog (#287)
d6eaef2 is described below
commit d6eaef2f9bf4935e786defc934f7944b8c8bbe56
Author: wpaetzold <12...@users.noreply.github.com>
AuthorDate: Mon Mar 15 13:38:28 2021 +0100
Fixed: Page selection is not working correctly in the lookup-dialog (#287)
(OFBIZ-12163)
---
themes/common-theme/webapp/common/js/util/fieldlookup.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/themes/common-theme/webapp/common/js/util/fieldlookup.js b/themes/common-theme/webapp/common/js/util/fieldlookup.js
index c775e06..47b31f4 100644
--- a/themes/common-theme/webapp/common/js/util/fieldlookup.js
+++ b/themes/common-theme/webapp/common/js/util/fieldlookup.js
@@ -562,6 +562,15 @@ var ButtonModifier = function(lookupDiv) {
onChangeEvent.apply(this);
}
});
+
+ var navPagersInput = jQuery("#" + lookupDiv + " .nav-pager input");
+ jQuery.each(navPagersInput, function(navPager) {
+ var onChangeEvent = navPagersInput[navPager].onchange;
+ navPagersInput[navPager].onchange = function(){
+ this.setAttribute("data-lookupajax", "true");
+ onChangeEvent.apply(this);
+ }
+ });
}
function _modifyResultTable() {