Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java6
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java3
2 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
index 11e8a5a3b..b26eed1c8 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
@@ -573,8 +573,10 @@ public abstract class AbstractBugEditor extends EditorPart implements Listener {
if (key.equals("short_desc") || key.equals("keywords")) {
keywords = value;
}
- else if (key.equals("cc")) {
- // XXX we don't do anything with the cc yet
+ else if (key.equals("newcc")) {
+ // we don't do anything with the cc yet
+ // add add an editable field as well as a table with the other cc's in it
+ // problem is is that we don't want to handle the error when the e-mail addr is incorrect - add a note saying that if wrong, no changes submitted
}
else if (key.equals("bug_file_loc")) {
url = value;
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java
index fcb36ccd7..887e56d41 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java
@@ -726,6 +726,9 @@ public class ExistingBugEditor extends AbstractBugEditor
selected.setSelection(false);
}
}
+ if(addCommentsText.getText() == null || addCommentsText.getText().equals("")){
+ addCommentsText.setText("No Comment");
+ }
}
}

Back to the top