Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #14437: Statistics - Clear button not working
- Loading branch information
LouisGac
committed
Jan 22, 2019
1 parent
1a777fe
commit c3198cc
Showing
1 changed file
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c3198cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oups, this commits breaks Result Export. see https://bugs.limesurvey.org/view.php?id=14450
===========
Buttons ids were renamed from save-button to export-button, ... but assets/packages/adminbasics/build/adminbasics.js was not udated accordingly.
Should we fix assets/packages/adminbasics/build/adminbasics.js in order to match the new button Ids from browsemenubar_view.php ?
c3198cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adminbasics.js must use data or other attribute. Usage of is is really a bad things to do …
c3198cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay so we should either revert the button name to save-button for the export (line 183)
Or
Fix the Javascript code either in
./packages/adminbasics/src/parts/save.js
Or in a new ./packages/adminbasics/src/parts/export.js
I'm not enough familiar with the LS3.x codebase to decide...
c3198cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have issue about gulp in LimeSurvey and gulp on Fedora 29 … #1174 (comment)
But i can have a look Monday.
c3198cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PS : 4 buttons with same id , we have a lot of chance it work …