[Vtigercrm-commits] [vtiger development] #4439: Image Upload Detection Failure
vtiger development
vtiger-tickets at trac.vtiger.com
Sun Nov 18 00:46:18 EST 2007
#4439: Image Upload Detection Failure
------------------------+---------------------------------------------------
Reporter: prasad | Owner: shahulhameed
Type: defect | Status: new
Priority: critical | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.3
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by shahulhameed):
Dear prasad,
This issue has been fixed with the following fix.
It looks simpler than the above. So I integrated this fix into our
product.
----
'''In incluse/js.general.js, On line: 800'''
image_arr = (getObj('imagename').value).split(".");
'''var len=image_arr.length;'''
if((image_arr['''len-1'''] == "jpeg") || (image_arr['''len-1''']
== "png") || (image_arr['''len-1'''] == "jpg") ||
(image_arr['''len-1'''] == "pjpeg") || (image_arr['''len-1'''] ==
"x-png") || (image_arr['''len-1'''] == "gif") || (image_arr['''len-1''']
== "JPEG") || (image_arr['''len-1'''] == "PNG") ||
(image_arr['''len-1'''] == "JPG") || (image_arr['''len-1'''] == "PJPEG")
|| (image_arr['''len-1'''] == "X-PNG") || (image_arr['''len-1'''] ==
"GIF"))
----
Thanks for notifying this issue. Kindly get back to me if you still facing
this issue.
Thanks and Regards
Shahul
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4439#comment:3>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list