Skip to content
Permalink
Browse files

Fixed issue #14881: 'show pop-ups' 'Off'-setting not working anymore

  • Loading branch information...
dominikvitt committed Jun 12, 2019
1 parent fb787fb commit 3853127d57db81c765ff5240bd7782d378867902
Showing with 2 additions and 2 deletions.
  1. +2 −2 assets/packages/template-core/template-core.js
@@ -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>";
});
@@ -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>";
});

0 comments on commit 3853127

Please sign in to comment.
You can’t perform that action at this time.