Ticket #5294 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Organization Image Upload Issue

Reported by: prasad Assigned to: asha
Priority: unassigned Milestone: 5.1.0
Component: vtigercrm Version: 5.0.4
Keywords: Cc:

Description

In IE if you upload jpg image in organization details page it will not replace the older image.

However, after selecting the file if your focus is set inside file input box then the image is uploaded.

Attachments

EditCompanyInfo.tpl.patch (1.0 kB) - added by prasad on 06/23/08 00:35:45.

Change History

06/23/08 00:33:47 changed by prasad

The problem might be due to the onclick handler that is being used instead use onchange handler for file input.

In the file: Smarty/templates_c/Settings/EditCompanyInfo.tpl

<input type="file" name="binFile" class="small" value="{$ORGANIZATIONLOGONAME}" onclick="validateFilename(this);">[{$ORGANIZATIONLOGONAME}]

with

<input type="file" name="binFile" class="small" value="{$ORGANIZATIONLOGONAME}" onchange="validateFilename(this);">[{$ORGANIZATIONLOGONAME}]

I have attached the patch w.r.t codebase 5.0.4

06/23/08 00:35:45 changed by prasad

  • attachment EditCompanyInfo.tpl.patch added.

06/25/08 07:42:06 changed by asha

  • status changed from new to assigned.
  • owner changed from developer to asha.

06/25/08 07:43:23 changed by asha

  • status changed from assigned to closed.
  • resolution set to fixed.

This patch has been integrated. Please refer to the changeset #12082