From 6107fe0e13215ad07ff839fc8c67ca1a11c90bc9 Mon Sep 17 00:00:00 2001 From: Bridget Almas Date: Mon, 5 Jan 2015 20:15:14 -0500 Subject: [PATCH] use older translation api --- app/js/arethusa.core/directives/uservoice_embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/arethusa.core/directives/uservoice_embed.js b/app/js/arethusa.core/directives/uservoice_embed.js index 45ef91d97..2d8233de8 100644 --- a/app/js/arethusa.core/directives/uservoice_embed.js +++ b/app/js/arethusa.core/directives/uservoice_embed.js @@ -20,7 +20,7 @@ angular.module('arethusa.core').directive('uservoiceEmbed', [ } }); translator('errorDialog.sendMessage', function(translation) { - scope.hint = translation(); + scope.hint = translation; // it would be nice to do this as a result of the confirm modal action // but it's more work to include a screenshot of the error in that case // we could do this as custom key/value pair but we are only allowed one