diff options
| -rw-r--r-- | plugins/webbox/html/webbox.js | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/webbox/html/webbox.js b/plugins/webbox/html/webbox.js index 7ded25f..a85c0c6 100644 --- a/plugins/webbox/html/webbox.js +++ b/plugins/webbox/html/webbox.js @@ -49,11 +49,16 @@ function loadContents(dir) {  					type = "";  				} -				mouseupdown = +                                var selector = "<td class=\"selector\"></td>"; +				if (listElements[i].textContent != "..") { +					selector = "<td class=\"selector\" onclick=\"toggleSelection('" + listElements[i].textContent + "')\">☐</td>"; +				} + +				var mouseupdown =  					"onmousedown=\"entryMouseDown('" + listElements[i].textContent + "')\" " +  					"onmouseup=\"entryMouseUp('" + listElements[i].textContent + "')\"";  				result += "<tr>" + -					"<td class=\"selector\" onclick=\"toggleSelection('" + listElements[i].textContent + "')\">☐</td>" + +					selector +  					"<td class=\"type\" " + mouseupdown + ">" + type + "</td>" +  					"<td class=\"name\" " + mouseupdown + ">" + listElements[i].textContent + "</td></tr>";  			}  | 
