svn commit: r1855084 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1855084 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl

adityasharma
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) {