From a02490cb1c021efa14daeed0c5f536a6c1a24624 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 20 May 2015 11:37:52 +0800 Subject: Bug 1164321: fix chrome issues --- extensions/BugModal/web/bug_modal.css | 15 +++++++++------ extensions/BugModal/web/bug_modal.js | 2 ++ 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'extensions/BugModal/web') 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); -- cgit v1.2.3-24-g4f1b