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. |
||
|---|---|---|
| .. | ||
| adapters | ||
| components | ||
| controllers | ||
| helpers | ||
| initializers | ||
| lib | ||
| mixins | ||
| models | ||
| pre-initializers | ||
| raw-views | ||
| routes | ||
| services | ||
| styles | ||
| templates | ||
| widgets | ||
| app.js | ||
| index.html | ||
| mapping-router.js | ||