You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2022/06/17 14:51:16 UTC
[ofbiz-framework] branch release22.01 updated: Improved: Backport, Use gradlew npm_outdated gradle-node-plugin tasks to check outdated scripts (OFBIZ-12480)
This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release22.01 by this push:
new 1ce8a93edc Improved: Backport, Use gradlew npm_outdated gradle-node-plugin tasks to check outdated scripts (OFBIZ-12480)
1ce8a93edc is described below
commit 1ce8a93edcae66eada85c3f0accfb0bb2ab882bf
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Tue Jan 18 10:43:26 2022 +0100
Improved: Backport, Use gradlew npm_outdated gradle-node-plugin tasks 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 6fa854eef9..3921c75275 100644
--- a/themes/common-theme/webapp/common/js/util/OfbizUtil.js
+++ b/themes/common-theme/webapp/common/js/util/OfbizUtil.js
@@ -245,7 +245,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!");
@@ -673,7 +673,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) {
@@ -1537,7 +1537,7 @@ function loadJWT() {
function sendJWT(targetUrl) {
var redirectUrl = targetUrl;
- var jwtToken = loadJWT();
+ var jwtToken = loadJWT();
if (jwtToken != null && jwtToken != "") {
jQuery.ajax({
url: targetUrl,