1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02: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

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

@@ -37,7 +37,6 @@ class adminstyle_infopanel
{ {
$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();
} }
}); });