Commit Graph

18 Commits

Author SHA1 Message Date
f62d9c6a96 Only add drag-drop handlers to dropzone, not the entire document
This enables dragging text into the textbox.
2021-11-15 05:56:32 -01:00
6846fb68b3 Revert attempt at deferring file selector
Reverts most of ab8b4b9524 which failed to remove the previous file uploader #37
2021-11-11 09:42:03 -01:00
c8c0b04492 fixes quick reply 2021-07-11 16:00:39 +02:00
towards-a-new-leftypol
0530209d87 fix parsing number from string 2021-07-03 19:58:24 -04:00
towards-a-new-leftypol
ab8b4b9524 defer additional_javascript
- this required a fix to file-selector
2021-06-27 01:09:28 +00:00
czaks
8f4aa27329 fix file-selector.js dependencies 2016-06-19 02:40:24 +02:00
czaks
0e805c25d8 file-selector.js: allow file dropping anywhere 2015-03-31 07:20:53 +02:00
czaks
765dea599b trivial fixes to file-selector.js 2015-03-31 06:50:05 +02:00
marktaiwan
6f94a06586 file selector: correct typo, click event target 2015-03-31 06:02:08 +02:00
marktaiwan
e42ffb2768 fix file selector element reference
fix thumbnail image not applying to main form with quick reply open
2015-03-31 06:01:50 +02:00
8chan
419d69b4ee ayylmao @marktaiwan 2015-03-31 06:01:23 +02:00
8chan
f26256f55a Make file selector work, add to config
Conflicts:
	inc/instance-config.php
	templates/post_form.html
2015-03-31 05:59:54 +02:00
marktaiwan
6e84a25f9a Adds keyboard focus to file selector 2015-03-31 05:57:45 +02:00
marktaiwan
4da073b6e8 Keep quick-reply and main form in sync
Use object-url instead of data-url due to shorter length
2015-03-31 05:57:26 +02:00
marktaiwan
0005f11098 initialize file selector soon as it's loaded
Conflicts:
	templates/post_form.html
2015-03-31 05:57:22 +02:00
marktaiwan
3bd7f94861 Fallback for browsers that disables javascript
Conflicts:
	stylesheets/style.css
	templates/post_form.html
2015-03-31 05:54:07 +02:00
marktaiwan
d7f82c58fd Run on index and thread
Clear file queue after upload success

corrected fallback detection
2015-03-31 05:51:28 +02:00
marktaiwan
48cd7438a1 initial commit file-selector.js 2015-03-31 05:50:42 +02:00