This bug 5860 was solved, now you can change a logo

This commit is contained in:
Carlos Pacha
2011-01-18 22:52:21 +00:00
parent 27f88b1e64
commit 30dfb6af9e
2 changed files with 8 additions and 3 deletions

View File

@@ -69,7 +69,11 @@
label:G_STRINGS.ID_APPLY_LOGO,
action:function(){
ajax_function('replacementLogo','replacementLogo','NAMELOGO='+encodeURIComponent(nameLogo),'GET') ;
parent.window.location.href = 'main_init';
//parent.window.location.href = 'main_init';
if(_BROWSER.name == 'msie' )
parent.parent.window.location.href = 'main';
else
parent.window.location.href = 'main_init';
history.go(0);
jumbshowlogo();
}});
@@ -111,7 +115,8 @@
*/
var jumbshowlogo = function() {
//parent.admToolsContent.location='uplogo';
parent.document.getElementById('setup-frame').location='uplogo';
//parent.document.getElementById('setup-frame').location='uplogo';
document.getElementById('setup-frame').src = 'uplogo';
}
</script>

View File

@@ -15,7 +15,7 @@
{TR1}
<td >
<br>
<a href ="#" onclick="changeLogo('{LOG0_NAME}');return;"><img src="{LOG0_IMAGE}" alt="{LOG0_IMAGE}" border="0"></a><br><br>
<a href ="#" onclick="changeLogo('{LOG0_NAME}');return false;"><img src="{LOG0_IMAGE}" alt="{LOG0_IMAGE}" border="0"></a><br><br>
{LOG0_NAME}<br>
{LOGO_WIDTH}px X {LOGO_HEIGHT}px - {LOG0_SIZE} KB
<a href ="#" {LOG0_DELETE} ><img src="{LOG0_CHECK}" alt="krlos" width='20px' height='20px' border="0"/></a>