@@ -152,12 +152,12 @@ class Comments
render();
modal: true,
autoOpen: false,
width: 800,
- height: 500,
+ height: "auto",
});
$(".comment_link").each(function() {
var $link = $(this);
var signature_id = $link.data("signature-id");
- $link.on("click", function() {
- $dialog.dialog("option", "title", "Crash signature " + signature_id);
+ $link.on("click", function(e) {
+ e.preventDefault();
+
+ //$dialog.dialog("option", "title", "Crash signature " + signature_id);
$dialog.dialog("open");
$.ajax({
@@ -83,10 +85,15 @@ $filter->render();
if ($txt) $txt .= "
";
if ($parts[2]) $txt .= preg_replace("/((::|<|>|,|\\(|\\)))/", "
\\1
", htmlentities($parts[2]));
if (!$txt) $txt = " ";
+ $ctext = "Comments";
+ if ($r->has_comments)
+ {
+ $ctext .= " ({$r->has_comments})";
+ }
?>
| nr) ?> |
- |
+ signature_id ?>" class="comment_link" data-signature-id="signature_id) ?>"> |
|
|
Comments for crash signature
+ +