mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
fixes #1358 automatic call to pwg.extensions.checkUpdates can be deactivated
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user