Title: [174771] trunk/Websites/bugs.webkit.org
- Revision
- 174771
- Author
- [email protected]
- Date
- 2014-10-16 09:01:18 -0700 (Thu, 16 Oct 2014)
Log Message
Get rid of large blank area when adding non-patch attachment
* js/attachment.js:
* template/en/custom/attachment/patchlegalese.html.tmpl:
- Use 'display: none;' and 'display: table-row;' instead of
'visibility: collapse;' and 'visibility: visible;' to hide and
show the text.
Modified Paths
Diff
Modified: trunk/Websites/bugs.webkit.org/js/attachment.js (174770 => 174771)
--- trunk/Websites/bugs.webkit.org/js/attachment.js 2014-10-16 16:01:17 UTC (rev 174770)
+++ trunk/Websites/bugs.webkit.org/js/attachment.js 2014-10-16 16:01:18 UTC (rev 174771)
@@ -54,11 +54,11 @@
// if WEBKIT_CHANGES
if (isdisabled) {
- document.getElementById('legal').style.visibility = "visible";
+ document.getElementById('legal').style.display = "table-row";
document.getElementById('create').value = "Agree and Submit";
} else {
document.getElementById('create').value = "Submit";
- document.getElementById('legal').style.visibility = "collapse";
+ document.getElementById('legal').style.display = "none";
}
// endif WEBKIT_CHANGES
}
Modified: trunk/Websites/bugs.webkit.org/template/en/custom/attachment/patchlegalese.html.tmpl (174770 => 174771)
--- trunk/Websites/bugs.webkit.org/template/en/custom/attachment/patchlegalese.html.tmpl 2014-10-16 16:01:17 UTC (rev 174770)
+++ trunk/Websites/bugs.webkit.org/template/en/custom/attachment/patchlegalese.html.tmpl 2014-10-16 16:01:18 UTC (rev 174771)
@@ -24,7 +24,7 @@
[%# if WEBKIT_CHANGES %]
[% IF (product == "WebKit" || product == "Security") %]
- <tr id="legal" style="visibility: collapse;">
+ <tr id="legal" style="display: none;">
<th>Legal:</th>
<td>
<b>WebKit Contribution Terms:</b><br/>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes