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 495733f Improved: Use gradlew npm_outdated gradle-node-plugin taks to check outdated scripts (OFBIZ-12480) 495733f is described below commit 495733f764e22620a7beaeb1d18419408ecb2442 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Jan 18 10:43:26 2022 +0100 Improved: Use gradlew npm_outdated gradle-node-plugin taks to check outdated scripts (OFBIZ-12480) Forgot to put back _form in OfbizUtil.js. THis is necessary for query-ui (1.13.0) cf. OFBIZ-12480 Coincidentally removes trailing blanks --- themes/common-theme/webapp/common/js/util/OfbizUtil.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/common-theme/webapp/common/js/util/OfbizUtil.js b/themes/common-theme/webapp/common/js/util/OfbizUtil.js index 252dc45..d58a217 100644 --- a/themes/common-theme/webapp/common/js/util/OfbizUtil.js +++ b/themes/common-theme/webapp/common/js/util/OfbizUtil.js @@ -223,7 +223,7 @@ function bindObservers(bind_element) { }); jQuery(bind_element).find("[data-lookup-presentation]").each(function(){ var element = jQuery(this); - var form = element.form(); + var form = element._form(); var formName = form.attr("name"); if (!formName) { console.log("Developer: For lookups to work you must provide a form name!"); @@ -651,7 +651,7 @@ function updateArea(areaId, data) { */ function ajaxUpdateAreas(areaCsvString) { /*split all parameters separate by comma, the regExp manage areaId,target,param1=a¶m2={b,c,d}¶m3=e as three parameters*/ - var regExpArea = /,(?=(?:[^{}]*{[^{}]*})*[^{}]*$)/g; + var regExpArea = /,(?=(?:[^{}]*{[^{}]*})*[^{}]*$)/g; var areaArray = areaCsvString.split(regExpArea); var numAreas = parseInt(areaArray.length / 3); for (var i = 0; i < numAreas * 3; i = i + 3) { @@ -1515,7 +1515,7 @@ function loadJWT() { function sendJWT(targetUrl) { var redirectUrl = targetUrl; - var jwtToken = loadJWT(); + var jwtToken = loadJWT(); if (jwtToken != null && jwtToken != "") { jQuery.ajax({ url: targetUrl,