mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:22:36 +08:00
f3273bd43e
allowUpload can be false for the composer if there are no allowed file extensions. This causes the _bindMobileUploadButton code to fail because the button does not get rendered in the template if !allowUpload. This commit changes composer-editor to only bind upload functionality if allowUpload. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |