Merge pull request #1887 from gwa2100/Issue#1789fix

Fixed Issue #1789: Help popup in web client not clearing after close
This commit is contained in:
Griatch 2019-08-19 08:05:36 +02:00 committed by GitHub
commit 63c45683fb

View file

@ -137,7 +137,7 @@ let options_plugin = (function () {
// is helppopup set? and if so, does this Text have type 'help'?
if ('helppopup' in options && options['helppopup'] ) {
if (kwargs && ('type' in kwargs) && (kwargs['type'] == 'help') ) {
$('#helpdialogcontent').append('<div>'+ args + '</div>');
$('#helpdialogcontent').prepend('<div>'+ args + '</div>');
plugins['popups'].togglePopup("#helpdialog");
return true;
}