Skip to content

Commit

Permalink
Fixed issue #14881: 'show pop-ups' 'Off'-setting not working anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Jun 12, 2019
1 parent fb787fb commit 3853127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/packages/template-core/template-core.js
Expand Up @@ -11,7 +11,7 @@ var TemplateCoreClass = function () {
*/
/* showStartPopups : replace core function : allow HTML and use it. Unusuable with ajax */
showStartPopups: function () {
if (LSvar.showpopup && $.isArray(LSvar.startPopups)) {
if (LSvar.showpopup == 1 && $.isArray(LSvar.startPopups)) {
startPopups = LSvar.startPopups.map( function (text) {
return "<p>"+text+"</p>";
});
Expand All @@ -24,7 +24,7 @@ var TemplateCoreClass = function () {
*/
alertSurveyDialog: function (startPopups, title) {
text = "";
if (LSvar.showpopup && $.isArray(startPopups)) {
if (LSvar.showpopup == 1 && $.isArray(startPopups)) {
startPopups = startPopups.map(function (text) {
return "<p>"+text+"</p>";
});
Expand Down

0 comments on commit 3853127

Please sign in to comment.