mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Merge pull request #2866 from lonalore/2818
Slight modification for issue #2818
This commit is contained in:
6
e107_admin/includes/infopanel.php
Normal file → Executable file
6
e107_admin/includes/infopanel.php
Normal file → Executable file
@@ -36,8 +36,7 @@ class adminstyle_infopanel
|
|||||||
if( e107::getSession()->get('core-update-status') !== true)
|
if( e107::getSession()->get('core-update-status') !== true)
|
||||||
{
|
{
|
||||||
$coreUpdateCheck = "
|
$coreUpdateCheck = "
|
||||||
$('#e-admin-core-update').html('<i title=\"Checking for updates\" class=\"fa fa-spinner fa-spin\"></i>');
|
$('#e-admin-core-update').html('<i title=\"Checking for updates\" class=\"fa fa-spinner fa-spin\"></i>');
|
||||||
|
|
||||||
$.get('".e_ADMIN."admin.php?mode=core&type=update', function( data ) {
|
$.get('".e_ADMIN."admin.php?mode=core&type=update', function( data ) {
|
||||||
|
|
||||||
var res = $.parseJSON(data);
|
var res = $.parseJSON(data);
|
||||||
@@ -54,7 +53,8 @@ class adminstyle_infopanel
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$('#e-admin-core-update').text('');
|
// Hide li element.
|
||||||
|
$('#e-admin-core-update').parent().hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user