(0002759)
|
dbaz
|
2008-05-19 12:43
(edited on: 2008-06-12 09:23) |
|
Logged In: YES
user_id=1500873
Originator: NO
I have commited on revision 4329 the necessary material.
When there is no image or when you are editing a new field, the apparience should be the same.
The correct html code should be (adding style="cursor: pointer;" to <TABLE> and class="Image_NotAvailable_medium" to <IMG>)
<DIV id="AD_Image_ID_inp">
<INPUT type="hidden" name="inpadImageId" id="AD_Image_ID" value="" onchange="logChanges(this);return true;"></INPUT>
<TABLE id="buttonAD_Image_ID" onclick="openSearch(null, null, 'file://///vmkubuntu/tomcat/webapps/openbravo/info/ImageInfo_FS.html', [^] null, false, 'frmMain', 'inpadImageId', 'inpadImageId_R', document.frmMain.inpadImageId.value);return false;" onmouseout="window.status='';return true;" style="cursor: pointer;" onmouseover="window.status='Image';return true;">
<TR>
<TD><IMG src="file://///vmkubuntu/tomcat/webapps/openbravo/web/images/blank.gif" [^] class="Image_NotAvailable_medium" border="0" alt="Image" id="AD_Image_ID_R" title="Image" name="inpadImageId_R"></IMG></TD>
</TR>
</TABLE>
</DIV>
NOTE That class="Image_NotAvailable_medium" only should appear when the register is a new one or is one without associated image. The style="cursor: pointer;" should appears always |
|