Commit d9a0cbf1 authored by Franco Fichtner's avatar Franco Fichtner

firmware: checking, not fetching

parent 93de08bd
...@@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
$('#updatelist').empty(); $('#updatelist').empty();
$('#updatetab > a').tab('show'); $('#updatetab > a').tab('show');
$("#checkupdate_progress").addClass("fa fa-spinner fa-pulse"); $("#checkupdate_progress").addClass("fa fa-spinner fa-pulse");
$('#updatestatus').html("{{ lang._('Fetching... (may take up to 30 seconds)') }}"); $('#updatestatus').html("{{ lang._('Checking... (may take up to 30 seconds)') }}");
// request status // request status
ajaxGet('/api/core/firmware/status',{},function(data,status){ ajaxGet('/api/core/firmware/status',{},function(data,status){
......
...@@ -64,7 +64,7 @@ if (isset($_POST['getupdatestatus'])) { ...@@ -64,7 +64,7 @@ if (isset($_POST['getupdatestatus'])) {
* check for updates * check for updates
*/ */
function system_information_widget_checkupdate() { function system_information_widget_checkupdate() {
$('#updatestatus').html('<span class="text-info"><?= html_safe(gettext('Fetching... (may take up to 30 seconds)')) ?></span>'); $('#updatestatus').html('<span class="text-info"><?= html_safe(gettext('Checking... (may take up to 30 seconds)')) ?></span>');
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/widgets/widgets/system_information.widget.php', url: '/widgets/widgets/system_information.widget.php',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment