Author: sascharodekamp
Date: Tue Aug 28 06:41:07 2012
New Revision: 1377988
URL:
http://svn.apache.org/viewvc?rev=1377988&view=revLog:
Lookup Form not working with Arabic characters (
https://issues.apache.org/jira/browse/OFBIZ-4915): A patch from Taher Alkhateeb: Any field in a form that uses the <lookup target-form-name="WhateverForm"/> would not return results when searching in Arabic. I suspect the main offender is javascript/jQuery when parsing user input.
Modified:
ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
Modified: ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js?rev=1377988&r1=1377987&r2=1377988&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Tue Aug 28 06:41:07 2012
@@ -650,6 +650,7 @@ function lookupFormAjaxRequest(formActio
var screenletTitleBar = jQuery("#" + lookupId + " .screenlet-title-bar :visible:first");
jQuery.ajax({
url : formAction,
+ type: "POST",
data : data,
beforeSend : function(jqXHR, settings) {
// Here we append the spinner to the lookup screenlet and it will