diff options
author | Tomas Daarstad <tomas.daarstad@tieto.com> | 2012-03-20 12:31:04 +0100 |
---|---|---|
committer | Tomas Daarstad <tomas.daarstad@tieto.com> | 2012-03-26 12:39:06 +0200 |
commit | c8d26cd439c9e917109f683a8792541c78e1deaa (patch) | |
tree | 0564f2717e5f6ba81d9d44ad5cf161d931b9dce6 /gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java | |
parent | 63b9d6e194daccaeedf7f8c221c7f60fc3fcbe18 (diff) |
Integration release of NQt GerritRC-V2.2.1-INT-014BL-QTQAINFRA-357
Fixed JIRA issues:
167 Fixed gerrit email verification link requires insecure login
195 Added support for European style dates
220 Added a check to prevent NumberFormatException
270 Fixed review database update from StagingApprove
335 Fixed automatic update of reviewer list
340 Don't send mail for publishing comments for stage approved
347 Fixed late removal of review approvals
348 Fixed cherry pick footer settings
350 Consider sanity review column
352 Fix typo in project config's topic review checkbox label
355 Hide review panel also on diff and topic pages
366 Fixed QTQAINFRA-366, buttons are enabled when all changes are max pos reviwed
372 Validate topic current change set
375 Topic permalink copy to clipboard corrected
381 Do not permit trailing slash when pushing
382 Integration release of NQt Gerrit
382 Added a check to prevent NullPointerException Added a check to prevent ArrayIndexOutOfBoundsException
385 Keep highlight on review request
389 Set patch approval changeOpen to false
411 Updated to use current patch id in loadFileList method.
456 Remove leading and trailing whitespace in username when creating a request
462 Updated for eclipse 3.7, m2e and fixed the full name of the MAVEN2_CLASSPATH_CONTAINER
468 Fixed the Review score put on wrong change
Change-Id: I067e518444be45b51dd63aea77f37b9edca06540
Diffstat (limited to 'gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java')
-rw-r--r-- | gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java index aa3c945dd8..3d75b2c363 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeSetsBlock.java @@ -65,6 +65,8 @@ public class ChangeSetsBlock extends Composite { /** Change sets on this topic, in order. */ private List<ChangeSet> changeSets; + private ChangeSetComplexDisclosurePanel changeSetCmlxDiscPanel; + ChangeSetsBlock(final TopicScreen parent) { this.parent = parent; body = new FlowPanel(); @@ -97,15 +99,14 @@ public class ChangeSetsBlock extends Composite { changeSetPanelsList = new ArrayList<ChangeSetComplexDisclosurePanel>(); for (final ChangeSet cs : changeSets) { - final ChangeSetComplexDisclosurePanel p; if (cs == currcs) { - p = new ChangeSetComplexDisclosurePanel(parent, detail, detail.getCurrentChangeSetDetail()); + changeSetCmlxDiscPanel = new ChangeSetComplexDisclosurePanel(parent, detail, detail.getCurrentChangeSetDetail()); } else { - p = new ChangeSetComplexDisclosurePanel(parent, detail, cs); + changeSetCmlxDiscPanel = new ChangeSetComplexDisclosurePanel(parent, detail, cs); } - add(p); - changeSetPanelsList.add(p); + add(changeSetCmlxDiscPanel); + changeSetPanelsList.add(changeSetCmlxDiscPanel); } } @@ -271,4 +272,13 @@ public class ChangeSetsBlock extends Composite { } } } + + /** + * Update the enable/disable status for the + * submitChangeSetButton and stageChangeSetButton + */ + public void updateButtons() { + changeSetCmlxDiscPanel.topicDetailCallback(); + + } } |