|
@@ -91,7 +91,12 @@
|
91
|
91
|
while(query.next())
|
92
|
92
|
{
|
93
|
93
|
output.writeStartElement("tr");
|
94
|
|
- output.writeTextElement("td", query.value(0)); //ID
|
|
94
|
+ output.writeStartElement("td");
|
|
95
|
+ output.writeStartElement("a");
|
|
96
|
+ output.writeAttribute("href", "typica://script/" + query.value(0));
|
|
97
|
+ output.writeTextElement("span", query.value(0)); //ID
|
|
98
|
+ output.writeEndElement();
|
|
99
|
+ output.writeEndElement();
|
95
|
100
|
output.writeTextElement("td", query.value(1)); //Coffee
|
96
|
101
|
output.writeTextElement("td", query.value(2)); //Reference
|
97
|
102
|
output.writeTextElement("td", query.value(3)); //Starting Wt
|
|
@@ -123,6 +128,9 @@
|
123
|
128
|
endDateField.dateChanged.connect(function() {
|
124
|
129
|
refresh();
|
125
|
130
|
});
|
|
131
|
+ view.scriptLinkClicked.connect(function(url) {
|
|
132
|
+ print(url);
|
|
133
|
+ });
|
126
|
134
|
]]>
|
127
|
135
|
</program>
|
128
|
136
|
</window>
|