- πΊπ¦Ukraine UsingSession
@Leeteq Are the settings in the screenshot below set?
- Status changed to Postponed: needs info
5 months ago 3:23pm 11 July 2024 - πΊπ¦Ukraine UsingSession
@grougy I need more information about step reproduce
Hi,
Just a note to help with ajax and better messages, it is working only for the first ajax call then messages are not displayed in next ajax calls because we still have the element with the class "better-messeges-processed" in the DOM.
My quick fix was to remove the element after the popup is closed :
It would be great to have this added and to add a parameter for the delay (or use "betterMessages.popout.duration" but it needs to be transformed (as it can be "fast", etc.)
In better_messages.js :
betterMessages.close = function() {
switch (betterMessages.popout.effect) {
case 'fadeOut': message_box.fadeOut(betterMessages.popout.duration);
break;
case 'slideUp': message_box.slideUp(betterMessages.popout.duration);
break;
default: message_box.fadeOut(betterMessages.popout.duration);
break;
}
// Modification 2016 01 29 : remove to allow next ajax actions to popup messages
// message_box.addClass("better-messeges-processed");
setTimeout(function() {
message_box.remove();
}, 1000); // new conf needed for that ?
// End Modification 2016 01 29
}
Postponed: needs info
1.0
Javascript
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
@Leeteq Are the settings in the screenshot below set?
@grougy I need more information about step reproduce