aifastdb-devplan 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -863,7 +863,7 @@ function showPanel(nodeId) {
|
|
|
863
863
|
var docProps = doc.properties || {};
|
|
864
864
|
var docLabel = docProps.section || '';
|
|
865
865
|
if (docProps.subSection) docLabel += ' / ' + docProps.subSection;
|
|
866
|
-
html += '<li class="subtask-item" style="cursor:pointer;" onclick="network.selectNodes([
|
|
866
|
+
html += '<li class="subtask-item" style="cursor:pointer;" onclick="network.selectNodes([\\x27' + doc.id + '\\x27]);showPanel(\\x27' + doc.id + '\\x27)">';
|
|
867
867
|
html += '<span class="subtask-icon" style="color:#f59e0b;">📄</span>';
|
|
868
868
|
html += '<span class="subtask-name" title="' + escHtml(doc.label) + '">' + escHtml(doc.label) + '</span>';
|
|
869
869
|
html += '<span class="subtask-id">' + escHtml(docLabel) + '</span>';
|
|
@@ -897,7 +897,7 @@ function showPanel(nodeId) {
|
|
|
897
897
|
var tProps = task.properties || {};
|
|
898
898
|
var tStatus = tProps.status || 'pending';
|
|
899
899
|
var tIcon = tStatus === 'completed' ? '✓' : tStatus === 'in_progress' ? '▶' : '○';
|
|
900
|
-
html += '<li class="subtask-item" style="cursor:pointer;" onclick="network.selectNodes([
|
|
900
|
+
html += '<li class="subtask-item" style="cursor:pointer;" onclick="network.selectNodes([\\x27' + task.id + '\\x27]);showPanel(\\x27' + task.id + '\\x27)">';
|
|
901
901
|
html += '<span class="subtask-icon ' + tStatus + '">' + tIcon + '</span>';
|
|
902
902
|
html += '<span class="subtask-name" title="' + escHtml(task.label) + '">' + escHtml(task.label) + '</span>';
|
|
903
903
|
html += '<span class="subtask-id">' + escHtml(tProps.taskId || '') + '</span>';
|