[email] fixed style problems
authorDavid Baz Fayos <david.baz@openbravo.com>
Fri, 30 Dec 2011 21:49:17 +0100
changeset 15062 d895851f84c2
parent 15061 2a89a27e0ed1
child 15063 da9ac3c4fcbe
[email] fixed style problems
src-db/database/sourcedata/AD_TEXTINTERFACES.xml
src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html
web/skins/Default/Openbravo_ERP_250.css
--- a/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Fri Dec 30 19:51:57 2011 +0100
+++ b/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Fri Dec 30 21:49:17 2011 +0100
@@ -13835,17 +13835,6 @@
 <!--4C1176A2D00711DDB300001D09C4A2FE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--4C1176A2D00711DDB300001D09C4A2FE--></AD_TEXTINTERFACES>
 
-<!--4C16AD34D00711DDBF1E001D09C4A2FE--><AD_TEXTINTERFACES>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <AD_TEXTINTERFACES_ID><![CDATA[4C16AD34D00711DDBF1E001D09C4A2FE]]></AD_TEXTINTERFACES_ID>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <TEXT><![CDATA[remove]]></TEXT>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html]]></FILENAME>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4C16AD34D00711DDBF1E001D09C4A2FE--></AD_TEXTINTERFACES>
-
 <!--4CA836E1D97749558C14E7174F041468--><AD_TEXTINTERFACES>
 <!--4CA836E1D97749558C14E7174F041468-->  <AD_TEXTINTERFACES_ID><![CDATA[4CA836E1D97749558C14E7174F041468]]></AD_TEXTINTERFACES_ID>
 <!--4CA836E1D97749558C14E7174F041468-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -19454,6 +19443,17 @@
 <!--B043CE30628911DEABA612313C002DE1-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--B043CE30628911DEABA612313C002DE1--></AD_TEXTINTERFACES>
 
+<!--B128718462344DF0B232A5CF1CB220BF--><AD_TEXTINTERFACES>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <AD_TEXTINTERFACES_ID><![CDATA[B128718462344DF0B232A5CF1CB220BF]]></AD_TEXTINTERFACES_ID>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <TEXT><![CDATA[[ Remove ]]]></TEXT>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html]]></FILENAME>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--B128718462344DF0B232A5CF1CB220BF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--B128718462344DF0B232A5CF1CB220BF--></AD_TEXTINTERFACES>
+
 <!--B178501408E94CD6A4269D924F9F4A29--><AD_TEXTINTERFACES>
 <!--B178501408E94CD6A4269D924F9F4A29-->  <AD_TEXTINTERFACES_ID><![CDATA[B178501408E94CD6A4269D924F9F4A29]]></AD_TEXTINTERFACES_ID>
 <!--B178501408E94CD6A4269D924F9F4A29-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html	Fri Dec 30 19:51:57 2011 +0100
+++ b/src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html	Fri Dec 30 21:49:17 2011 +0100
@@ -84,6 +84,7 @@
 		
 	}
 	function onLoadDo(){
+    modifyInputFile('inpFile');
 		if (document.getElementById("paramArchive").value == "Y"){
 			document.getElementById("paramcheck").checked=true
 		}
@@ -113,7 +114,7 @@
 	}
 
 	function onResizeDo(){
-		resizeArea();
+		//resizeArea(); // Removed to avoid double-scroll problems, since the html is not built using 2.50 standards
 	}
 	function storeDoc(){
 		if (document.getElementById("paramArchive").value=='' || document.getElementById("paramArchive").value=='N') {
@@ -123,7 +124,17 @@
 			}
 	}
 	
-
+  function modifyInputFile(id) {
+    var object = document.getElementById(id);
+    if (getBrowserInfo('name').toUpperCase().indexOf('CHROME') !== -1) {
+      object.style.padding = '0px';
+      object.style.margin = '0px';
+      object.style.height = '23px';
+      object.style.background = 'none !important';
+      object.style.border = 'none';
+    }
+    object.style.display = '';
+  }
 	
   </script>
 
@@ -279,11 +290,11 @@
         					<div id="sectionDetail2">
         					<tr id="funcEvenOddRowxx" class="DataGrid_Body_Row DataGrid_Body_Row_xx">
       							<td class="DataGrid_Body_Cell" id="fileDocName" value="tt">xx</td>
-								<td width="20" class="DataGrid_Body_Cell">  <span class="Checkbox_container_NOT_Focused" style="text-align: center;"><input type="checkbox" id="paramcheck" name="paramcheck" onclick="javascript:storeDoc();"/></span></td>
+								<td width="20" class="DataGrid_Body_Cell" style="text-align: center;"><span class="Checkbox_container_NOT_Focused"><input type="checkbox" id="paramcheck" name="paramcheck" onclick="javascript:storeDoc();"/></span></td>
          					</tr>
     						<div id="sectionDetail">
       						<tr id="view" class="DataGrid_Body_Row DataGrid_Body_Row_xx">
-      							<td class="DataGrid_Body_Cell" id="paramName">xx<a type="hidden" id="linkLocator" href="#" onclick="javascript:doDelete('yy');return true;"> remove</a> </td>
+      							<td class="DataGrid_Body_Cell" id="paramName">xx<span>&nbsp;&nbsp;</span><a type="hidden" id="linkLocator" href="#" class="LabelLink_noicon" onclick="javascript:doDelete('yy');return true;">[ Remove ]</a></td>
 								<td width="20" class="DataGrid_Body_Cell"><span class="Checkbox_container_NOT_Focused"><input type="hidden" id="paramId" name="field-xx"/></span></td>
          					</tr>
     					</div>
@@ -297,7 +308,7 @@
 					</td>
 					<td colspan="2" class="TextBox_ContentCell">
                     	<input type="text" onblur="isInputFile=false;" onfocus="isInputFile=true;" style="border: 0pt none ; margin: 0pt; padding: 0pt; font-size: 0pt; width: 0px; height: 0px;"/>
-                    	<input type="file" size="32px" name="inpFile" class="dojoValidateValid TextBox_TwoCells_width" style="width: 100px"/>
+                    	<input type="file" size="32px" name="inpFile" id="inpFile" class="dojoValidateValid TextBox_TwoCells_width" style="display: none;"/>
                     	<input type="text" onblur="isInputFile=false;" onfocus="isInputFile=true;" style="border: 0pt none ; margin: 0pt; padding: 0pt; font-size: 0pt; width: 0px; height: 0px;"/>
    	 				</td>
 				</tr>
--- a/web/skins/Default/Openbravo_ERP_250.css	Fri Dec 30 19:51:57 2011 +0100
+++ b/web/skins/Default/Openbravo_ERP_250.css	Fri Dec 30 21:49:17 2011 +0100
@@ -4682,6 +4682,7 @@
   padding: 1px;
   padding-left: 4px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateValid {
@@ -4693,6 +4694,7 @@
   padding: 1px;
   padding-left: 4px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateInvalid {
@@ -4704,6 +4706,7 @@
   padding: 1px;
   padding-left: 4px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateRange {
@@ -4714,6 +4717,7 @@
   padding: 1px;
   padding-left: 4px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateEmpty_focus {
@@ -4727,6 +4731,7 @@
   padding: 0px;
   padding-left: 3px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateValid_focus {
@@ -4740,6 +4745,7 @@
   padding: 0px;
   padding-left: 3px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateInvalid_focus {
@@ -4753,6 +4759,7 @@
   padding: 0px;
   padding-left: 3px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .dojoValidateRange_focus {
@@ -4766,6 +4773,7 @@
   padding: 0px;
   padding-left: 3px;
   height: 17px;
+  resize: none; /* CSS3 Property to avoid the browser capability of resize textareas */
 }
 
 .TextBox_focus {