parent
bde781c98b
commit
9453d67c32
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ angular.module('quay').factory('UIService', ['$timeout', '$rootScope', '$locatio
|
|||
uiService.showFormError = function(elem, result, opt_placement) {
|
||||
var message = result.data['message'] || result.data['error_description'] || '';
|
||||
if (message) {
|
||||
uiService.showPopover(elem, message, opt_placement);
|
||||
uiService.showPopover(elem, message, opt_placement || 'bottom');
|
||||
} else {
|
||||
uiService.hidePopover(elem);
|
||||
}
|
||||
|
|
Reference in a new issue