horizon/openstack_dashboard/dashboards/project/static/dashboard
Michel Nederlof 4f0d4d161a Fix object-store container toggle for turning public access on/off
After updating to angular 1.8, changes to a object (in this case the
container object) has changed from the click event to the onchange event
for input radio's and checkboxes as described on
https://docs.angularjs.org/guide/migration#-input-radio-and-input-checkbox-

In our scenario this means the container.is_public value is changed
_after_ the ajax call went to the horizon API, effectively not changing it.

This change fixes this, by migrating to the ng-change event for this toggle

Closes-Bug: #2020879
Change-Id: If3b87da6d747bb7e738b64f4c2f3472a7556c652
2023-05-30 14:50:23 +00:00
..
project Fix object-store container toggle for turning public access on/off 2023-05-30 14:50:23 +00:00