View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021925 | mantisbt | ui | public | 2016-11-16 11:01 | 2016-12-30 15:54 |
Reporter | mcmo | Assigned To | dregad | ||
Priority | normal | Severity | text | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.0.0-rc.1 | ||||
Target Version | 2.0.0 | Fixed in Version | 2.0.0 | ||
Summary | 0021925: Incorrect text for the remove file button in the file upload dropzone | ||||
Description | In MantisBT 2.0.0 Beta 3, after selecting a file to upload a red button appears with the label "Remove file" | ||||
Tags | modern-ui | ||||
Attached Files | |||||
@syncguru can you please look into this ? |
|
I have commented the PR https://github.com/mantisbt/mantisbt/pull/931 |
|
I think the problem is here https://github.com/mantisbt/mantisbt/blob/master/js/common.js#L494 The $(this) doesn't refer to the upload form, which means the data attributes are undefined. I changed $(this) to $('.dropzone-form') and it started working. |
|
This issue is a regression introduced by 0021651. @vkall I reached the same conclusion. See proposed fix |
|