mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
Fix uploading files when using Zulip in another language.
Apparently, relatively URLs in our javascript no longer work.
This commit is contained in:
@@ -954,7 +954,7 @@ $(function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$("#compose").filedrop({
|
$("#compose").filedrop({
|
||||||
url: "json/upload_file",
|
url: "/json/upload_file",
|
||||||
fallback_id: "file_input",
|
fallback_id: "file_input",
|
||||||
paramname: "file",
|
paramname: "file",
|
||||||
maxfilesize: page_params.maxfilesize,
|
maxfilesize: page_params.maxfilesize,
|
||||||
|
|||||||
Reference in New Issue
Block a user