View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19924 | Bug reports | Survey editing | public | 2025-01-08 10:41 | 2025-01-27 14:10 |
Reporter | 2BITS_PL | Assigned To | tibor.pacalat | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.6.x | ||||
Summary | 19924: Multiplication of #pjaxClickInhibitor DOM element when switching response view mode in LimeSurvey | ||||
Description | There is an issue in LimeSurvey when toggling between response view modes (Expanded/Compact). Each toggle causes the #pjaxClickInhibitor DOM element to multiply. With every subsequent toggle, these elements stack on top of each other, significantly increasing script execution time. This issue can also be reproduced on the official demo instance: demo.limesurvey.org. | ||||
Steps To Reproduce | Steps to Reproduce:
Expected Behavior: Attachments:
Additional Information: | ||||
Tags | No tags attached. | ||||
Attached Files | fixed_multiplication_pjaxClickInhibitor.diff (826 bytes)
assets/packages/adminsidepanel/src/adminsidepanelmain.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/packages/adminsidepanel/src/adminsidepanelmain.js b/assets/packages/adminsidepanel/src/adminsidepanelmain.js index 9327b109..8628267b 100644 --- a/assets/packages/adminsidepanel/src/adminsidepanelmain.js +++ b/assets/packages/adminsidepanel/src/adminsidepanelmain.js @@ -98,6 +98,7 @@ const Lsadminsidepanel = (userid, surveyid) => { $(document) .off("pjax:send.panelloading") .on("pjax:send.panelloading", () => { + $("#pjaxClickInhibitor").remove(); $('<div id="pjaxClickInhibitor"></div>').appendTo("body"); $( ".ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable" | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.9.0 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | SQL Server 2022 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | v8.1.29 NTS x64 | ||||
What was multiplying was the handle of the click on the Display Mode selector |
|
Fixed in Release 6.10.2+250127 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-08 10:41 | 2BITS_PL | New Issue | |
2025-01-08 10:41 | 2BITS_PL | File Added: fixed_multiplication_pjaxClickInhibitor.diff | |
2025-01-08 14:41 | tibor.pacalat | Assigned To | => gabrieljenik |
2025-01-08 14:41 | tibor.pacalat | Status | new => assigned |
2025-01-17 20:57 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2025-01-17 20:57 | gabrieljenik | Status | assigned => ready for code review |
2025-01-17 20:57 | gabrieljenik | Note Added: 81842 | |
2025-01-17 20:57 | gabrieljenik | Bug heat | 0 => 2 |
2025-01-20 07:38 | DenisChenu | Assigned To | DenisChenu => tibor.pacalat |
2025-01-20 07:38 | DenisChenu | Status | ready for code review => ready for testing |
2025-01-20 17:26 | tibor.pacalat | Status | ready for testing => resolved |
2025-01-20 17:26 | tibor.pacalat | Resolution | open => fixed |
2025-01-27 14:10 | LimeBot | Note Added: 81910 | |
2025-01-27 14:10 | LimeBot | Status | resolved => closed |
2025-01-27 14:10 | LimeBot | Bug heat | 2 => 4 |