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-08 14:41 |
Reporter | 2BITS_PL | Assigned To | gabrieljenik | ||
Priority | none | Severity | minor | ||
Status | assigned | Resolution | open | ||
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 | 0 | ||||
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 | ||||
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 |