diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-03-21 14:43:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-03-21 14:43:10 +0000 |
commit | 9dba2cfa41eb20fabc9d68924229812415225053 (patch) | |
tree | 7d62ff878f25e47c7bccd47b3c00dde307d50585 /openstack_dashboard/dashboards/project/containers | |
parent | 537dbacdcc316a60fe7c456d9a96f773c9c73948 (diff) | |
parent | e95a04733d463658f3ca87e9df213b8e1dd0326d (diff) | |
download | horizon-9dba2cfa41eb20fabc9d68924229812415225053.tar.gz |
Merge "Selected instances are not deleted with pagination"
Diffstat (limited to 'openstack_dashboard/dashboards/project/containers')
-rw-r--r-- | openstack_dashboard/dashboards/project/containers/tables.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openstack_dashboard/dashboards/project/containers/tables.py b/openstack_dashboard/dashboards/project/containers/tables.py index c8acc3c2a..a14c880b0 100644 --- a/openstack_dashboard/dashboards/project/containers/tables.py +++ b/openstack_dashboard/dashboards/project/containers/tables.py @@ -269,6 +269,17 @@ class ContainersTable(tables.DataTable): url = super(ContainersTable, self).get_absolute_url() return http.urlquote(url) + def get_full_url(self): + """Returns the encoded absolute URL path with its query string. + + This is used for the POST action attribute on the form element + wrapping the table. We use this method to persist the + pagination marker. + + """ + url = super(ContainersTable, self).get_full_url() + return http.urlquote(url) + class ViewObject(tables.LinkAction): name = "view" @@ -416,3 +427,14 @@ class ObjectsTable(tables.DataTable): def get_absolute_url(self): url = super(ObjectsTable, self).get_absolute_url() return http.urlquote(url) + + def get_full_url(self): + """Returns the encoded absolute URL path with its query string. + + This is used for the POST action attribute on the form element + wrapping the table. We use this method to persist the + pagination marker. + + """ + url = super(ObjectsTable, self).get_full_url() + return http.urlquote(url) |