Fix batch delete key pairs button isn't disabled when the key pair has deleted
When the key pair has deleted by the batch delete button, the batch
delete button isn't disabled and still can be clicked.
Since whatever in the keypairs panel or on key pair details page,
After the key pair is deleted, the url will be redirected to the
key pairs panel. The correct way is that only the key pair is deleted
on the details page, and it needs to be redirected to the key pairs
panel.
Reviewed: https:/ /review. openstack. org/529932 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ab57c0937df 8b870440974fd78 dfe4557c104dbb
Committed: https:/
Submitter: Zuul
Branch: master
commit ab57c0937df8b87 0440974fd78dfe4 557c104dbb
Author: wei.ying <email address hidden>
Date: Fri Nov 17 16:45:32 2017 +0800
Fix batch delete key pairs button isn't disabled when the key pair has deleted
When the key pair has deleted by the batch delete button, the batch
delete button isn't disabled and still can be clicked.
Since whatever in the keypairs panel or on key pair details page,
After the key pair is deleted, the url will be redirected to the
key pairs panel. The correct way is that only the key pair is deleted
on the details page, and it needs to be redirected to the key pairs
panel.
Change-Id: Ie3041cc70bde84 e9753be41f0a80d 04534ffdf44 Bug:#1739871
Closes-