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
This commit is contained in:
committed by
Nicolas Malin
parent
8f08e1ee09
commit
1ce8a93edc
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user