1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

Slight modification for issue #2818

This commit is contained in:
lonalore 2017-11-16 09:40:41 +01:00
parent 1069998c42
commit 28282d21be

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();
}
});