From 09296fc0b302d9a105aacad960c295991fa88a1d Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 4 Apr 2013 14:32:47 +0200 Subject: Use text.get for transforming values supplied by spec https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/search.js') diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js index 54add548..5fbb8409 100644 --- a/install/ui/src/freeipa/search.js +++ b/install/ui/src/freeipa/search.js @@ -21,7 +21,7 @@ * along with this program. If not, see . */ -define(['./ipa', './jquery', './facet'], function(IPA, $) { +define(['./ipa', './jquery', './text', './facet'], function(IPA, $, text) { IPA.search_facet = function(spec, no_init) { @@ -425,7 +425,7 @@ IPA.batch_items_action = function(spec) { var that = IPA.action(spec); that.method = spec.method || 'disable'; - that.success_msg = spec.success_msg; + that.success_msg = text.get(spec.success_msg); that.execute_action = function(facet, on_success, on_error) { -- cgit