mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +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({
|
||||
url: "json/upload_file",
|
||||
url: "/json/upload_file",
|
||||
fallback_id: "file_input",
|
||||
paramname: "file",
|
||||
maxfilesize: page_params.maxfilesize,
|
||||
|
||||
Reference in New Issue
Block a user