Author: deepak
Date: Sat Feb 24 10:56:00 2018
New Revision: 1825211
URL:
http://svn.apache.org/viewvc?rev=1825211&view=revLog:
Fixed: Found element binding issue related to lookup work done at r#1825205
(OFBIZ-10012)
Modified:
ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/util/OfbizUtil.js
Modified: ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/util/OfbizUtil.js
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/util/OfbizUtil.js?rev=1825211&r1=1825210&r2=1825211&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/util/OfbizUtil.js (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/util/OfbizUtil.js Sat Feb 24 10:56:00 2018
@@ -149,7 +149,7 @@ function bindObservers(bind_element) {
var argList = [this, descriptionField, fieldFormname, presentation];
argList = argList.concat(args);
- var $a = jQuery("<a/>").one("click", function () {
+ var $a = jQuery("<a/>").on("click", function () {
call_fieldlookup3.apply(null, argList);
});
element.parent().append($a);
@@ -167,7 +167,7 @@ function bindObservers(bind_element) {
var argList = [this, fieldFormname, presentation];
argList = argList.concat(args);
- var $a = jQuery("<a/>").one("click", function () {
+ var $a = jQuery("<a/>").on("click", function () {
call_fieldlookup2.apply(null, argList);
});
element.parent(".field-lookup").append($a);