]> source.dussan.org Git - nextcloud-server.git/commit
Fixed download URL in public page
authorVincent Petry <pvince81@owncloud.com>
Fri, 24 Jan 2014 12:32:31 +0000 (13:32 +0100)
committerVincent Petry <pvince81@owncloud.com>
Fri, 24 Jan 2014 12:38:39 +0000 (13:38 +0100)
commitc6695bbd764be9f43067c09894e36422c2b92b49
tree0d1ad131a1c7f0ff4dd0aa8df09e0f47f4ea93d8
parent0671c58e361f2ccf2cd23d73a9712c1a31e838ce
Fixed download URL in public page

- Refactored download URL building to make it overridable
- Added download URL override in public page
- Added JS unit tests for download URL
- Added OC.redirect() method to facilitate unit testing
apps/files/js/fileactions.js
apps/files/js/filelist.js
apps/files/tests/js/fileactionsSpec.js [new file with mode: 0644]
apps/files/tests/js/filelistSpec.js
apps/files_sharing/js/public.js
core/js/js.js