nextcloud/apps
Daniel Calviño Sánchez c70688e5d0 Update the whole file item instead of only its contents
The "done" and "fail" callbacks both update the item for the uploaded
file using "setFileIcon". "setFileIcon" updates the contents of the
"<li>" element for the file, but the "fail" callback was giving
"setFileIcon" an element generated by the template,  so the resulting
HTML contained a "<li>" element nested in another "<li>" element.

However, generating the HTML is better done through a template, so the
template now receives the icon to show in order to be used by a
successful upload and a failed one, and "setFileIcon" was changed to
"updateFileItem".

Note that the mimeTypeUrl does no longer need to be escaped, as
Handlebars templates escape the needed characters automatically.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-08-18 14:26:15 +02:00
..
admin_audit Log console commands 2017-07-01 12:19:01 +02:00
comments [tx-robot] updated from transifex 2017-08-11 00:08:20 +00:00
dav Do not log WebDAV maintenance mode exception 2017-08-15 15:03:39 +02:00
encryption [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
federatedfilesharing [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
federation [tx-robot] updated from transifex 2017-08-13 00:08:14 +00:00
files [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
files_external [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
files_sharing Update the whole file item instead of only its contents 2017-08-18 14:26:15 +02:00
files_trashbin Fix comparisions in the trashbin app 2017-08-01 13:56:12 +02:00
files_versions [tx-robot] updated from transifex 2017-08-16 00:08:33 +00:00
lookup_server_connector Add |null to PHPDoc 2017-08-01 08:20:15 +02:00
oauth2 [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
provisioning_api Remove explicit type hints for Controller 2017-08-01 17:32:03 +02:00
sharebymail [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
systemtags [tx-robot] updated from transifex 2017-08-02 00:08:10 +00:00
testing Move over locking controller 2017-07-24 13:44:03 +02:00
theming [tx-robot] updated from transifex 2017-08-16 00:08:33 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2017-08-09 00:08:20 +00:00
updatenotification [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
user_ldap [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
workflowengine [tx-robot] updated from transifex 2017-08-09 00:08:20 +00:00