From 0e125afa03570cee2b2f06c17389133a6fa618c2 Mon Sep 17 00:00:00 2001 From: Stefan Yohansson Date: Wed, 30 Sep 2015 18:48:45 -0300 Subject: [PATCH] FS-8260 #resolve [verto_communicator] prompt banner text --- .../vertoControllers/controllers/ChatController.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js index 2985ff4946..14943270f6 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js @@ -167,8 +167,17 @@ $scope.confBanner = function(memberID) { console.log('$scope.confBanner'); - var text = 'New Banner'; - verto.data.conf.banner(memberID, text); + + prompt({ + title: 'Please insert the banner text', + input: true, + label: '', + value: '', + }).then(function(text) { + if (text) { + verto.data.conf.banner(memberID, text); + } + }); }; $scope.confVolumeDown = function(memberID) {