From aa5ea9f6b2ee396743ddf4ebd157f33973b72b0e Mon Sep 17 00:00:00 2001 From: Harpreet Kataria Date: Mon, 16 May 2016 12:38:19 -0400 Subject: [PATCH] Display flash messages in multiple lines https://bugzilla.redhat.com/show_bug.cgi?id=1336018 --- client/app/states/marketplace/details/details.state.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/app/states/marketplace/details/details.state.js b/client/app/states/marketplace/details/details.state.js index 771ffe212..816339ae6 100644 --- a/client/app/states/marketplace/details/details.state.js +++ b/client/app/states/marketplace/details/details.state.js @@ -102,7 +102,10 @@ } function addFailure(result) { - Notifications.error(__('There was an error adding to shopping cart: ') + result); + var errors = result.split(","); + for (var i = 0; i