[email] fixed JS errors
authorDavid Baz Fayos <david.baz@openbravo.com>
Fri, 30 Dec 2011 19:51:57 +0100
changeset 15061 2a89a27e0ed1
parent 15056 2f0de9fcb04b
child 15062 d895851f84c2
[email] fixed JS errors
src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html
--- a/src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html	Thu Dec 29 13:14:21 2011 +0100
+++ b/src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html	Fri Dec 30 19:51:57 2011 +0100
@@ -93,7 +93,7 @@
 			closeThisPage();
 		}
 		this.windowTables = new Array(
-		  new windowTableId('client', 'buttonOK')
+		  new windowTableId('client')
 		);
 		setWindowTableParentElement();
 		enableShortcuts('popup');
@@ -181,7 +181,7 @@
 	<tr>
 		<td>
 
-		<div style="margin: 10px;">
+		<div style="margin: 10px;" id="client">
 
 		<table cellspacing="0" cellpadding="0 style="height: 150px; overflow: auto;" class="form_table">
 
@@ -199,7 +199,7 @@
 							<input style="width: 55%;" type="text" dojoType="openbravo:ValidationTextBox"
 									class="dojoValidateValid required TextBox_btn_TwoCells_width"
 									maxlength="200" name="contactEmail" id="contactEmail" value=""
-									required="true" onkeyup="validateTextBox(this.id);"><span class="LabelText" name="contactName" id="contactName" value="" style="padding-left: 10px"></span>
+									required="true"><span class="LabelText" name="contactName" id="contactName" value="" style="padding-left: 10px"></span>
 									
 						</td>
 					</tr>
@@ -214,7 +214,7 @@
 							<input style="width: 55%;" type="text" dojoType="openbravo:ValidationTextBox"
 									class="dojoValidateValid required TextBox_btn_TwoCells_width"
 									maxlength="200" name="salesrepEmail" id="salesrepEmail" value=""
-									required="true" onkeyup="validateTextBox(this.id);"><span class="LabelText" name="salesrepName" id="salesrepName" value="" style="padding-left: 10px"></span>
+									required="true"><span class="LabelText" name="salesrepName" id="salesrepName" value="" style="padding-left: 10px"></span>
 									
 						</td>
 					</tr>
@@ -229,7 +229,7 @@
 							<input style="width: 55%;" type="text" dojoType="openbravo:ValidationTextBox"
 										class="dojoValidateValid required TextBox_btn_TwoCells_width"
 										maxlength="200" name="emailSubject" id="emailSubject" value=""
-										required="true" onkeyup="validateTextBox(this.id);">
+										required="true">
 						</td>
 						
 					</tr>