src/org/openbravo/erpCommon/ad_actionButton/DocAction.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 799 fef2c5e2feb7
child 1123 98882a0cf364
permissions -rw-r--r--
Removed old frame parameter of windowTableId
carlos@0
     1
<!--
carlos@0
     2
*************************************************************************
carlos@0
     3
* The contents of this file are subject to the Openbravo  Public  License
carlos@0
     4
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     5
* Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     6
* file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     7
* the License at http://www.openbravo.com/legal/license.html 
carlos@0
     8
* Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     9
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    10
* License for the specific  language  governing  rights  and  limitations
carlos@0
    11
* under the License. 
carlos@0
    12
* The Original Code is Openbravo ERP. 
carlos@0
    13
* The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    14
* All portions are Copyright (C) 2001-2006 Openbravo SL 
carlos@0
    15
* All Rights Reserved. 
carlos@0
    16
* Contributor(s):  ______________________________________.
carlos@0
    17
************************************************************************
carlos@0
    18
-->
carlos@0
    19
<HTML>
carlos@0
    20
  <head>
carlos@0
    21
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
carlos@0
    22
    <TITLE>Request process</TITLE>
carlos@0
    23
    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
carlos@0
    24
    <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    25
    <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    26
    <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    27
    <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    28
    <script language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</script>
asier@528
    29
    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    30
    <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    31
    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
david@689
    32
    <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>   
carlos@0
    33
    <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
carlos@0
    34
    <script type="text/javascript">
carlos@0
    35
      dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    36
    </script>
carlos@0
    37
    <script language="JavaScript" type="text/javascript" id="paramDirection">
carlos@0
    38
      var baseDirection="../../../../../web/";
carlos@0
    39
    </script>
carlos@0
    40
    <script language="JavaScript" type="text/javascript" id="paramArray">
carlos@0
    41
      var arrDocAction = null;
carlos@0
    42
    </script>
carlos@0
    43
    <script language="JavaScript" type="text/javascript">
carlos@0
    44
      function actualizarDescripcion() {
carlos@0
    45
        if (arrProjectAction==null) {
carlos@0
    46
          layer("descripcion", "", true);
carlos@0
    47
        } else {
carlos@0
    48
          layer("descripcion", valorArray(arrProjectAction, document.frmMain.inpchangedocstatus.options[document.frmMain.inpchangedocstatus.selectedIndex].value, 2), true);
carlos@0
    49
        }
carlos@0
    50
        return true;
carlos@0
    51
      }
carlos@0
    52
carlos@0
    53
      function closeThisPage() {
carlos@0
    54
        window.close();
carlos@0
    55
        return true;
carlos@0
    56
      }
carlos@0
    57
carlos@0
    58
      function onloadFunctions() {
carlos@0
    59
      }
carlos@0
    60
carlos@0
    61
      function submitThisPage(strCommand) {
david@689
    62
        setProcessingMode('popup', true);
carlos@0
    63
        submitCommandForm(strCommand, false, null, null, '_top');
carlos@0
    64
        return true;
carlos@0
    65
      }
carlos@0
    66
    </script>
carlos@0
    67
asier@528
    68
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    69
	function onLoadDo(){
david@689
    70
	    setProcessingMode('popup', false);
asier@528
    71
		this.windowTables = new Array(
david@1044
    72
		  new windowTableId('client', 'linkButtonOk')
asier@528
    73
		);
asier@528
    74
		setWindowTableParentElement();
asier@528
    75
		enableShortcuts('popup');
asier@528
    76
asier@528
    77
		setWindowElementFocus('firstElement');
asier@528
    78
	}
asier@528
    79
asier@528
    80
	function onResizeDo(){
asier@528
    81
	}
asier@528
    82
	</SCRIPT>
carlos@0
    83
</head>
carlos@0
    84
asier@528
    85
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    86
  <form id="form" method="POST" action="Window_Edition.html" name="frmMain">
carlos@0
    87
    <INPUT type="hidden" name="Command">
carlos@0
    88
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    89
    <input type="hidden" name="inpLastFieldChanged"></input>
carlos@0
    90
    <input type="hidden" name="inpKey" value="" id="key"></input>
carlos@0
    91
    <input type="hidden" name="inpwindowId" value="" id="window"></input>
carlos@0
    92
    <input type="hidden" name="inpdocstatus" value="" id="docstatus"></input> 
carlos@0
    93
    <input type="hidden" name="inpprocessing" value="" id="processing"></input> 
carlos@0
    94
carlos@0
    95
    <div class="Popup_ContentPane_CircleLogo">
carlos@0
    96
      <div class="Popup_WindowLogo">
carlos@0
    97
        <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    98
      </div>
carlos@0
    99
    </div>
carlos@0
   100
carlos@0
   101
    <table cellspacing="0" cellpadding="0" width="100%">
carlos@0
   102
carlos@0
   103
      <tr>
carlos@0
   104
        <td>
carlos@0
   105
          <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   106
            <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   107
              <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   108
              <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   109
              <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
carlos@0
   110
              <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   111
              <td class="Popup_NavBar_Popup_title_cell"><span>Document Action</span></td>
carlos@0
   112
              <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   113
            </tr>
carlos@0
   114
          </table>
carlos@0
   115
        </td>
carlos@0
   116
      </tr>
carlos@0
   117
carlos@0
   118
      <tr>
carlos@0
   119
        <td>
carlos@0
   120
          <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   121
            <tr>
carlos@0
   122
              <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   123
            </tr>
carlos@0
   124
          </table>
carlos@0
   125
        </td>
carlos@0
   126
      </tr>
carlos@0
   127
carlos@0
   128
      <tr>
carlos@0
   129
        <td>
carlos@0
   130
          <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
carlos@0
   131
            <tr>
carlos@0
   132
              <td class="Popup_InfoBar_Icon_cell"><IMG src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info" /></td>
carlos@0
   133
              <td class="Popup_InfoBar_text_table">
carlos@0
   134
                <table>
carlos@0
   135
                  <tr>
carlos@0
   136
                    <td class="Popup_InfoBar_text" id="helpDiscard"> <div id="processHelp">&nbsp;</div></TD>
carlos@0
   137
                  </tr>
carlos@0
   138
                </table>
carlos@0
   139
              </td>
carlos@0
   140
            </tr>
carlos@0
   141
          </table>
carlos@0
   142
        </td>
carlos@0
   143
      </tr>
carlos@0
   144
carlos@0
   145
      <tr>
carlos@0
   146
        <td>
asier@528
   147
          <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   148
            <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
carlos@0
   149
carlos@0
   150
              <tr>
carlos@0
   151
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   152
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   153
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   154
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   155
              </tr>
carlos@0
   156
carlos@0
   157
              <tr>
carlos@0
   158
                <td class="TitleCell"><SPAN class="LabelText">Action regarding document</SPAN></td>
carlos@0
   159
                <td class="Combo_ContentCell" colspan="2">
carlos@0
   160
                  <select name="inpdocaction" id="reportdocaction" onchange="actualizarDescripcion();return true;" class="Combo Combo_TwoCells_width">
carlos@0
   161
                    <option value=""></option>
carlos@0
   162
                  </select>
carlos@0
   163
                </td>
carlos@0
   164
                <td></td>
carlos@0
   165
              </tr>
carlos@0
   166
carlos@0
   167
              <tr><td height="20px"></td></tr>
carlos@0
   168
carlos@0
   169
              <tr>
carlos@0
   170
                <td></td>
carlos@0
   171
                <td class="Button_RightAlign_ContentCell">
carlos@0
   172
                  <div>
asier@528
   173
                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='xx'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE_BUTTONDocActionxx');return false;" id="linkButtonOk">
carlos@0
   174
            <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='xx';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;" id="tableButtonOk">
carlos@0
   175
                      <tr>
carlos@0
   176
                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0 id="buttonOk"/></td>
carlos@0
   177
                        <td class="Button_text Button_width">OK</td>
carlos@0
   178
                        <td class="Button_right"></td>
carlos@0
   179
                      </tr>
carlos@0
   180
                    </table>
carlos@0
   181
                  </a>
carlos@0
   182
                  </div>
carlos@0
   183
                </td>
carlos@0
   184
                <td class="Button_LeftAlign_ContentCell">
carlos@0
   185
                  <div>
asier@528
   186
                    <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='xx'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;" id="linkButtonCancel">
carlos@0
   187
            <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='xx';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;" id="tableButtonCancel">
carlos@0
   188
                      <tr>
carlos@0
   189
                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0 id="buttonCancel"/></td>
carlos@0
   190
                        <td class="Button_text Button_width">Cancel</td>
carlos@0
   191
                        <td class="Button_right"></td>
carlos@0
   192
                      </tr>
carlos@0
   193
                    </table>
carlos@0
   194
                  </a>
carlos@0
   195
                  </td>
carlos@0
   196
                  <td></td>
carlos@0
   197
                </tr>
carlos@0
   198
carlos@0
   199
              </table>
carlos@0
   200
            </div>
carlos@0
   201
          </td>
carlos@0
   202
        </tr>
carlos@0
   203
      </table>
carlos@0
   204
carlos@0
   205
    </body>
carlos@0
   206
  </html>