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:
parent
1069998c42
commit
28282d21be
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)
|
||||
{
|
||||
$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();
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user