浏览代码

Removed legacy code

Toby Chui 1 年之前
父节点
当前提交
cc4f43be21
共有 1 个文件被更改,包括 0 次插入19 次删除
  1. 0 19
      web/SystemAO/info/taskManager.html

+ 0 - 19
web/SystemAO/info/taskManager.html

@@ -445,25 +445,6 @@
                 },
                 timeout: 2000
             });
-
-            /*
-            $.get("../../system/info/getUsageInfo", function(data){
-                //Update graph
-                addAndShiftChartDate(cpuChart, "", data.CPU);
-                addAndShiftChartDate(ramChart, "", data.RamUsage);
-
-                //Update values
-                $("#cpuUsage").text(data.CPU.toFixed(1) + "%");
-                $("#ramUsedPercentage").text(data.RamUsage.toFixed(1) + "%")
-                $("#ramUsed").text(data.UsedRAM);
-                $("#ramTotal").text(data.TotalRam);
-
-                setTimeout(function(){
-                    updateData();
-                }, 100);
-            });
-            */
-
         }
 
         function addNetData(chart, label, rx, tx) {