[wp-trac] [WordPress Trac] #20855: Don't show Upload button until file has been selected.

WordPress Trac noreply at wordpress.org
Thu Nov 15 10:55:39 UTC 2012


#20855: Don't show Upload button until file has been selected.
------------------------------+------------------------
 Reporter:  jane              |       Owner:  kovshenin
     Type:  task (blessed)    |      Status:  reopened
 Priority:  normal            |   Milestone:  3.5
Component:  UI                |     Version:  3.4
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:39 kovshenin]:
 > We can concatenate all the file input values with .map and check for an
 empty string. That will enable all submit buttons in a form if at least
 one file input has a value, which sounds like it could break less.

 Sounds like a great idea to me.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20855#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list