You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2019/03/09 06:29:37 UTC
svn commit: r1855084 -
/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl
Author: adityasharma
Date: Sat Mar 9 06:29:37 2019
New Revision: 1855084
URL: http://svn.apache.org/viewvc?rev=1855084&view=rev
Log:
Improved: Replace document.write() occurrences with some legitimate code
(OFBIZ-10759)
Removed document.write.lastFocusedName as code works without it
Modified:
ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl
Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl?rev=1855084&r1=1855083&r2=1855084&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl Sat Mar 9 06:29:37 2019
@@ -23,7 +23,6 @@ under the License.
lastFocusedName = null;
function setLastFocused(formElement) {
lastFocusedName = formElement.name;
- document.write.lastFocusedName;
}
function clickUsername() {
if (document.getElementById('UNUSEEMAIL').checked) {