1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-18 19:39:45 +01:00

Merge pull request #2866 from lonalore/2818

Slight modification for issue #2818
This commit is contained in:
Cameron 2017-11-16 12:41:36 -08:00 committed by GitHub
commit 1e95aecf91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
e107_admin/includes/infopanel.php Normal file → Executable file
View File

@ -36,8 +36,7 @@ class adminstyle_infopanel
if( e107::getSession()->get('core-update-status') !== true)
{
$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 ) {
var res = $.parseJSON(data);
@ -54,7 +53,8 @@ class adminstyle_infopanel
}
else
{
$('#e-admin-core-update').text('');
// Hide li element.
$('#e-admin-core-update').parent().hide();
}
});