nextcloud/apps
Daniel Calviño Sánchez b68bad45dc 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-27 18:37:43 +02:00
..
admin_audit Don't try to generate logs for chunking paths 2017-06-16 10:42:07 +02:00
comments [tx-robot] updated from transifex 2017-08-25 00:09:08 +00:00
dav [tx-robot] updated from transifex 2017-08-09 00:08:30 +00:00
encryption [tx-robot] updated from transifex 2017-08-18 00:08:25 +00:00
federatedfilesharing [tx-robot] updated from transifex 2017-08-24 00:09:00 +00:00
federation [tx-robot] updated from transifex 2017-08-13 00:08:23 +00:00
files Merge pull request #6270 from nextcloud/6252-12 2017-08-26 18:32:03 +02:00
files_external update icewind/smb to 2.0.2 2017-08-26 12:14:43 +02:00
files_sharing Update the whole file item instead of only its contents 2017-08-27 18:37:43 +02:00
files_trashbin Delete trash using node API to trigger preview deletion 2017-08-15 08:52:13 +02:00
files_versions [tx-robot] updated from transifex 2017-08-22 00:08:29 +00:00
lookup_server_connector Merge pull request #4783 from nextcloud/lite-application-classes 2017-05-10 17:31:05 -05:00
oauth2 [tx-robot] updated from transifex 2017-08-21 00:08:22 +00:00
provisioning_api Add unit tests for the new code 2017-06-22 09:55:57 +02:00
sharebymail [tx-robot] updated from transifex 2017-08-25 00:09:08 +00:00
systemtags [tx-robot] updated from transifex 2017-08-21 00:08:22 +00:00
testing Remove unused use statements 2017-04-22 19:23:31 -05:00
theming Merge pull request #6108 from nextcloud/backport-6080-12 2017-08-24 02:58:03 +02:00
twofactor_backupcodes [tx-robot] updated from transifex 2017-08-26 00:08:36 +00:00
updatenotification [tx-robot] updated from transifex 2017-08-22 00:08:29 +00:00
user_ldap [tx-robot] updated from transifex 2017-08-25 00:09:08 +00:00
workflowengine [tx-robot] updated from transifex 2017-08-25 00:09:08 +00:00