Omar Ahmed Hassan 04ccdf6f76
Fix: prevent fileInput.js from adding event listeners more than once (#2365)
Fix fileInput.js adding event listeners more than once

- Fix a bug that caused fileInput.js to add event listeners more than once per HTML file as it's included in fileSelector fragment in fragments/common.html thus it's being loaded N times where N is the number of file selectors / custom file chooser / file input elements per HTML file, which resulted in each event actions being executed N times as well, which was prevalent in drag and drop operations such as dragging and dropping a file called y.png, it would be duplicated N times (as in /sign path).
2024-12-02 17:41:11 +00:00
..
2024-08-24 17:08:51 +01:00
2024-11-22 08:44:48 +00:00
2024-06-14 19:38:54 +01:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-05-22 21:45:35 +01:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:22:59 +00:00
2024-06-14 19:38:54 +01:00
2024-06-14 19:38:54 +01:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-02-10 16:11:45 +00:00
2024-06-14 19:38:54 +01:00
2024-06-14 19:38:54 +01:00