Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New feature : add a jquery event after html is updated by expression …
…: html:updated Dev: Fixed issue #11937: Help question start empty, updated after : not shown
- Loading branch information
Showing
5 changed files
with
33 additions
and
21 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
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
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
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
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
db0dc89
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.
@LouisGac @Shnoulle Hi Denis, we're having some problems with this commit and auto-calculation/type joggling things.
db0dc89
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.
You have near same issue before this commit, no ?
And need a lss file ;)
db0dc89
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.
Hm, don't know, Louis was the one working on it. If you're available on Monday you can ask him.
db0dc89
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.
Currently : if there are an empty help at start, updated by Expression Manager after ready : there are joggling … (for example : subquestion validation text :
{if(is_empty(self.NAOK),"","You enter something")}
But if help content are fixed : i don't think there are joggling …
And more : i move hideEmptyPart function inside HTML : happen before document is ready. I think all of this are moved to ready … after
It's what happen when i fix this issue . But still : need a simple lss example file …
But i think all of this can be broken now : all javascript and html part are updated after i work on it …
db0dc89
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.
indeed it's a Markus bug, that's why I didn't want to ping you before I was sure...
db0dc89
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.
Moved function to ready / pjax ? Maybe we can add ls-hidden with some {{ processString(strip_tag(EXPRESSION),1) }} (1 for static)
db0dc89
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.
no it's about changes he did in LEMVal that was too much strong typed. So it blocked the calculation of equation when not set to "number only" (which is a correct behavior indeed... but people expects their calculation that worked in 2.x to work in 3.x )
db0dc89
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.
We have a lot of issue about this. I'm against at start to compare code as number if it's number … some year ago before you work on LimeSurvey.
If you look on history : on
LimeSurvey/application/helpers/expressions/em_core_helper.php
Line 287 in 950a901