fixes #1358 automatic call to pwg.extensions.checkUpdates can be deactivated

This commit is contained in:
plegall
2021-03-05 12:19:56 +01:00
parent e86d5525d0
commit e64acd03c5
3 changed files with 9 additions and 0 deletions
+4
View File
@@ -15,6 +15,8 @@ jQuery().ready(function(){
splitTitle: '|',
positionBy: 'bottomTop'
});
{/literal}
{if $CHECK_FOR_UPDATES}
jQuery.ajax({
type: 'GET',
url: 'ws.php',
@@ -34,6 +36,8 @@ jQuery().ready(function(){
jQuery(".warnings ul").append('<li>'+ext_need_update_msg+'</li>');
}
});
{/if}
{literal}
jQuery('.newsletter-subscription a').click(function() {
jQuery('.newsletter-subscription').hide();