src/org/openbravo/erpCommon/ad_process/GenerateHelp.html
changeset 528 7aa737db257f
parent 378 5c93458e2916
child 628 492ad1a5c917
--- a/src/org/openbravo/erpCommon/ad_process/GenerateHelp.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_process/GenerateHelp.html	Thu Mar 13 14:33:37 2008 +0000
@@ -33,7 +33,9 @@
   var LNG_POR_DEFECTO = "en_US";
 </script>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramAlertMsg">ALERT_MSG = "Are you sure?";</SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
@@ -43,7 +45,6 @@
 <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
 <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
 <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
-<script language="JavaScript" type="text/javascript" id="keyMap"></script>
 <script type="text/javascript"> 
       //all dojo.require above this line
       dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
@@ -64,8 +65,30 @@
 	new TypeAheadCombo("inpadWindowId");
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		this.tabsTables = new Array(
+		  new tabTableId('tdtopTabs')
+		);
+		setTabTableParentElement();
+		enableShortcuts('edition');
+		
+		resizeArea();
+		onloadFunctions();
+		xx();
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();onloadFunctions();xx"  id="body" onresize="resizeArea();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();"id="body" onresize="resizeArea();">
 <FORM method="POST" action="GenerateHelp.html" name="frmMain">
   <INPUT type="hidden" name="Command">
 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
@@ -209,7 +232,7 @@
   </tr>
   
   <tr>
-      <TD class="TitleCell"> <SPAN class="LabelText">Window</SPAN></TD>
+      <TD class="TitleCell"><SPAN class="LabelText">Window</SPAN></TD>
       <td class="Combo_ContentCell" colspan="2"> 
         <SELECT name="inpadWindowId" id="inpadWindowId" class="Combo Combo_TwoCells_width">
           <OPTION value=""></OPTION><DIV id="reportAD_Window_ID"></DIV>
@@ -218,7 +241,7 @@
         
 
 
-      <TD class="TitleCell"> <SPAN class="LabelText">Generate to folder</SPAN></TD>
+      <TD class="TitleCell"><SPAN class="LabelText">Generate to folder</SPAN></TD>
       <TD class="TextBox_ContentCell" colspan="2"> <INPUT class="dojoValidateValid TextBox_TwoCells_width required" required="true" type="text" name="inpPath" size="50" ></INPUT>
       </TD>
    </tr>
@@ -237,7 +260,7 @@
             <td class="TitleCell"></td>
             <td class="Button_RightAlign_ContentCell">
               <div>
-                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('SAVE', true);return false;">
+                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('SAVE', true);return false;">
                 <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                   <tr>
                     <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>