summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-20 05:37:52 +0200
committerByron Jones <glob@mozilla.com>2015-05-20 05:37:52 +0200
commita02490cb1c021efa14daeed0c5f536a6c1a24624 (patch)
treef414d2622d9deaaeeee62c63522656911fa9dba2 /extensions/BugModal/web
parent70b298ecbd3aba8f24bf6d0147bece13b81d6040 (diff)
downloadbugzilla-a02490cb1c021efa14daeed0c5f536a6c1a24624.tar.gz
bugzilla-a02490cb1c021efa14daeed0c5f536a6c1a24624.tar.xz
Bug 1164321: fix chrome issues
Diffstat (limited to 'extensions/BugModal/web')
-rw-r--r--extensions/BugModal/web/bug_modal.css15
-rw-r--r--extensions/BugModal/web/bug_modal.js2
2 files changed, 11 insertions, 6 deletions
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css
index 205fceb12..3060d4fd6 100644
--- a/extensions/BugModal/web/bug_modal.css
+++ b/extensions/BugModal/web/bug_modal.css
@@ -21,7 +21,8 @@
}
.inline {
- display: table-cell;
+ display: table-cell !important;
+ width: auto !important;
}
.gravatar {
@@ -154,6 +155,8 @@ select[multiple], .text_input, .yui-ac-input, input {
.module .field {
margin-top: 4px;
vertical-align: top;
+ display: table;
+ width: 100%;
}
.module .field.right {
@@ -340,10 +343,6 @@ input[type="number"] {
width: 100%;
}
-#attachments tr:hover {
- background-image: linear-gradient(to right, #666, rgba(0, 0, 0, 0) 1px);
-}
-
#attachments td {
padding: 4px 8px;
vertical-align: top;
@@ -387,7 +386,7 @@ input[type="number"] {
text-decoration: line-through;
}
-#attachments .attach-patch {
+#attachments .attach-desc-td {
background: #ffc;
background-image: linear-gradient(to right, #ffc, #fff);
}
@@ -782,6 +781,10 @@ div.ui-tooltip {
/* product search */
+#field-product {
+ white-space: nowrap;
+}
+
#product-search-container {
white-space: nowrap;
}
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 87324f2f5..b0b5f5317 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -376,9 +376,11 @@ $(function() {
// disable the save buttons while posting
$('.save-btn')
.click(function(event) {
+ event.preventDefault();
if (document.changeform.checkValidity && !document.changeform.checkValidity())
return;
$('.save-btn').attr('disabled', true);
+ this.form.submit();
})
.attr('disabled', false);