~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/distroseries.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-28 17:57:34 UTC
  • mfrom: (13278.3.1 sync-bug-785613)
  • Revision ID: launchpad@pqm.canonical.com-20110628175734-lqa85423zn0p7rg4
[r=allenap][bug=785613] Fix the sync form on difference pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
879
879
            # show the results.
880
880
            self.next_url = self.request.URL
881
881
 
 
882
    @property
 
883
    def action_url(self):
 
884
        """The forms should post to themselves, including GET params to
 
885
        account for batch parameters.
 
886
        """
 
887
        return "%s?%s" % (self.request.getURL(), self.request['QUERY_STRING'])
 
888
 
882
889
    def validate_sync(self, action, data):
883
890
        """Validate selected differences."""
884
891
        form.getWidgetsData(self.widgets, self.prefix, data)