Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed: Page selection is not working correctly in the lookup-dialog (#…
…287)

(OFBIZ-12163)
  • Loading branch information
wpaetzold committed Mar 15, 2021
1 parent b1d4dc6 commit d6eaef2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions themes/common-theme/webapp/common/js/util/fieldlookup.js
Expand Up @@ -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() {
Expand Down

0 comments on commit d6eaef2

Please sign in to comment.