Active
Project:
Image FUpload
Version:
6.x-3.0-rc2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2012 at 15:24 UTC
Updated:
27 Feb 2012 at 19:29 UTC
Hi,
I have content type with an imagefield as attribute. The imagefield is optional: my users don't have to upload images if they want to create a node.
But each time they create a node, and they press "Submit", they get the following Javascript alert:
No images have been selected yet. If you continue (OK), a node without any images will be created. If you want to
add some images to queue, click "Cancel" and use the icon on the left to queue some images.
I don't want this message to be shown. Is there a setting where I can disable this? Or do I need to hack into swfupload-settings.tpl.php?
Thanks in advance,
Jochen
Comments
Comment #1
Funksmaname commentedI removed the message lines (68 and 72) and now it works regardless of 0 images without warning...
This should probably be noted as a bug though as the code appears to my n00bish eyes to only warn if the imagefield is required. In my case the image field was NOT required, but the message kept coming up.