浏览代码

Update index.php (#6539)

Alex 2 年之前
父节点
当前提交
273213e196
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/dashboard/index.php

+ 2 - 0
core/dashboard/index.php

@@ -369,6 +369,7 @@
 			draggable: ".widget",
 			preventOnFilter: true,
 			ghostClass: 'ghost',
+			/*
 			onChange: function (evt) {
 				//check if chart exists
 				let chart_status = Chart.getChart(evt.item.id + "_chart");
@@ -383,6 +384,7 @@
 					chart = new Chart(context, config);
 				}
 			},
+			*/
 			onSort: function (evt) {
 				let widget_ids = document.querySelectorAll("#widgets > div[id]");
 				let widget_ids_list = [];