Fix for Queens rc-1
This patch fixes layout for sined URL dialog and handling message list response for dialog. Also, add release notes for Queens. Change-Id: I30d6d61ab292016bd2fc142379565fa7f97ac09c
This commit is contained in:
parent
9523d7b173
commit
800e8ecea3
8
releasenotes/notes/queens-ae86cb21aebaadfd.yaml
Normal file
8
releasenotes/notes/queens-ae86cb21aebaadfd.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- >
|
||||
[`bug/1647995 <https://bugs.launchpad.net/zaqar-ui/+bug/1647995>`_]
|
||||
Fixed queue create/update without metadata modification.
|
||||
When metadata is not modified in queue create/update,
|
||||
the operation had been failed.
|
||||
|
@ -46,7 +46,7 @@
|
||||
*/
|
||||
|
||||
zaqar.getMessages(ctrl.queue).then(function (response) {
|
||||
ctrl.messages = response;
|
||||
ctrl.messages = response.data;
|
||||
});
|
||||
|
||||
//////////
|
||||
|
@ -29,7 +29,7 @@
|
||||
};
|
||||
zaqar = $injector.get('horizon.app.core.openstack-service-api.zaqar');
|
||||
deferred = $q.defer();
|
||||
deferred.resolve([{id: '1'}]);
|
||||
deferred.resolve({data: [{id: '1'}]});
|
||||
spyOn(zaqar, 'getMessages').and.returnValue(deferred.promise);
|
||||
|
||||
ctrl = $controller(
|
||||
|
@ -64,6 +64,10 @@
|
||||
|
||||
// form
|
||||
var form = [
|
||||
{
|
||||
type: 'section',
|
||||
htmlClass: 'row',
|
||||
items: [
|
||||
{
|
||||
type: "section",
|
||||
htmlClass: "col-sm-12",
|
||||
@ -104,6 +108,8 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
// model
|
||||
@ -172,11 +178,11 @@
|
||||
config.form = angular.copy(form);
|
||||
|
||||
// for result message
|
||||
config.form[0].items[0].helpvalue = "<div class='alert alert-success'>" +
|
||||
config.form[0].items[0].items[0].helpvalue = "<div class='alert alert-success'>" +
|
||||
interpolate(message.success,
|
||||
[name, response.data.expires, response.data.signature]
|
||||
) + "</div>";
|
||||
config.form[0].items[0].condition = false;
|
||||
config.form[0].items[0].items[0].condition = false;
|
||||
|
||||
// display new dialog
|
||||
waitSpinner.hideModalSpinner();
|
||||
|
Loading…
Reference in New Issue
Block a user