Reviewed by Mark Rowe.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Oct 2009 06:59:38 +0000 (06:59 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Oct 2009 06:59:38 +0000 (06:59 +0000)
        https://bugs.webkit.org/show_bug.cgi?id=30470
        Make marking a bug as duplicate easier

        * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
        click again.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

BugsSite/ChangeLog
BugsSite/js/field.js

index c6fe66b1f9fbcc3a6a4391bd5bdab05dc4dcfea1..b014022f35246a81bb734dd7638b1aee0db7d390 100644 (file)
@@ -1,3 +1,13 @@
+2009-10-16  Alexey Proskuryakov  <ap@apple.com>
+
+        Reviewed by Mark Rowe.
+
+        https://bugs.webkit.org/show_bug.cgi?id=30470
+        Make marking a bug as duplicate easier
+
+        * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
+        click again.
+
 2009-09-09  David Kilzer  <ddkilzer@apple.com>
 
         Update data/params parameters
index ea33e520fb493fbd1d929459d6e5360ee0aeba5c..f2dce57509c86050fb97aee79d444542dfbf14f6 100644 (file)
@@ -325,6 +325,11 @@ function setResolutionToDuplicate(e, duplicate_or_move_bug_status) {
     status.value = duplicate_or_move_bug_status;
     resolution.value = "DUPLICATE";
     showHideStatusItems("", ["",""]);
+
+    // Show edit field for bug number, so that the user doesn't have to click on "(edit)".
+    YAHOO.util.Dom.setStyle('dup_id', 'display', 'inline');
+    YAHOO.util.Dom.setStyle('dup_id_container', 'display', 'none');
+
     YAHOO.util.Event.preventDefault(e);
 }