Summary: | Drag and drop file upload has two minor issues | ||
---|---|---|---|
Product: | Orthanc | Reporter: | Sébastien Jodogne <s.jodogne> |
Component: | Orthanc Explorer | Assignee: | Sébastien Jodogne <s.jodogne> |
Status: | CONFIRMED --- | ||
Severity: | minor | ||
Priority: | --- | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
1918679651-Capture.PNG
2741110632-Capture.PNG |
Description
Sébastien Jodogne
2020-06-29 15:11:02 CEST
[BitBucket user: Sébastien Jodogne] [BitBucket date: 2015-09-08.12:56:45] *Comment by mp.zwiers on Apr 27, 2015* I've also seen this duplicative list behaviour. Reloading (refreshing) the page (sometimes twice) can make the problem go away [BitBucket user: Alain Mazy] [BitBucket date: 2019-01-10.10:20:57] Just added a log to try to debug the "twice listed" issue and I've not been able to reproduce it afterwards. So let's keep the log... https://hg.orthanc-server.com/orthanc/changeset/b311cff247cab5a370fd1f88150fec1ec56469d9 [BitBucket user: Alain Mazy] [BitBucket date: 2019-01-24.09:23:48] I've captured the bug while doing something else (will look later): ![Capture.PNG](1918679651-Capture.PNG) So, this means that the `fileuploaddrop` event is fired twice with the same content (1 file in this case) And it seems that the event is triggered twice at very high level (from jquery) because I passed 2 times in this code: ![Capture.PNG](2741110632-Capture.PNG) So I've added a log to detect if the event is being registered twice: https://hg.orthanc-server.com/orthanc/changeset/4cfed5c2eacd850db5654f46dbb0f8192d07c781 Created attachment 102 [details]
1918679651-Capture.PNG
Created attachment 103 [details]
2741110632-Capture.PNG
|