
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | core-js-upload-attach-297209-15.patch | 1.77 KB | nod_ |
| #15 | core-js-upload-attach-297209-15.patch | 1.77 KB | nod_ |
| #13 | core-js-upload-attach-297209-13.patch | 1.81 KB | nod_ |
| #11 | 297209-auto-upload.patch | 1.29 KB | bdone |
| #7 | attachmentField.png | 8.71 KB | Tor Arne Thune |
Comments
Comment #1
damien tournoud commentedOn a related note: the "Delete" checkbox should probably be a button, and have an immediate effect (at least visually).
Comment #2
lilou commented... like this : #147198: JavaScript attachment deletions
Comment #3
kika commented*bump*
We already got Rasmus time() pain fixed, why give Dries some relief too?
Interaction seems straightforward. We need js wizards and make sure it works without js enabled.
Is there any way usability gang can help?
Comment #4
Bojhan commentedDon't think so, we just need a patch here. It seems an obvious improvement. Can it work without JS?
Comment #5
dwees commentedThe solution to making it work with JS disabled is to have the form include the attach button, then hide it when it successfully attaches the behaviours to the file field.
I tried to work on this, but have given up for today figuring out how to mess with ajax.js which seems to have the fact the uploads are occurring from a button hard-coded into it. I'll post a patch for what I have so far.
Anyway this is not working patch, it does nothing to hide the attach button, or fix the uploads to work again.
Dave
Comment #6
lilou commentedSee : http://www.deciphered.net/blog/2009/07/29/drupal_drag_and_drop_file_uplo...
Comment #7
Tor Arne Thune commentedSo, in 7.0, the button has been renamed 'Upload' and moved next to the 'Choose File' button. It's still not just a one-step process, so moving this to 8.x. See attached screenshot for the status quo.
Comment #8
yoroy commentedDo it! :)
Comment #9
nod_4 years old reroll FTW. It's not called ahah anymore :)
Comment #10
kika commentedAny chance @_nod could bring the JS troops and finally make it happen?
Comment #11
bdone commentedhere's a patch that triggers the upload button's mouse event, upon source file being changed.
this works both with, and without JS.
here's some manual test recordings:
Comment #12
tlattimore commentedI can confirm that this patch applies cleanly and works as described.
Comment #13
nod_quick update, still works.
Not comfortable with hiding the element in JS, we have a class for those things,
js-hide.Comment #14
tstoecklerI guess the description should be updated as well, then.
Comment #15
nod_Comment #16
nod_Comment #17
bdone commentedtested and confirmed #16 is working, both with and without javascript.
steps to test manually:
video of test:
http://www.youtube.com/watch?v=1-OZOODpzWw&feature=youtu.be&t=1m27s
Comment #18
wim leersHaha, so simple, so obvious! Nice :)
Comment #19
heather commentedCool! I hope this gets in. Good to see issues that are oldies but goodies get some attention.
Comment #20
alexpottManually tested with and without javascript works great!
Committed 5fc858b and pushed to 8.x. Thanks!
Guess we need a change notice for site builders here
Comment #21
Bojhan commentedOmg, so exciting :D
Comment #22
catch#2083415: [META] Write up all outstanding change notices before release
Comment #23
nod_https://drupal.org/node/2084307
Comment #24
nod_Comment #26
xjmUntagging. Please remove the tag when the change notification task is completed.