summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
authorAdam Misnyovszki <amisnyov@redhat.com>2014-05-05 16:31:55 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-05-07 16:55:01 +0200
commit23302645aa70613dd1ecc6eb45b6c2ad07588270 (patch)
treebd53ed55bcde86c6cb61c6c4be8518d566cdd0b6 /install/ui
parent1ef91701e984c5c9717803a0d3c2e52c81386676 (diff)
downloadfreeipa-23302645aa70613dd1ecc6eb45b6c2ad07588270.tar.gz
freeipa-23302645aa70613dd1ecc6eb45b6c2ad07588270.tar.xz
freeipa-23302645aa70613dd1ecc6eb45b6c2ad07588270.zip
webui static site delete command fixed
When the static test site called batch delete, it always referred to batch.json. This patch fixes it, by referring entityname + '_batch_del.json' Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'install/ui')
-rw-r--r--install/ui/src/freeipa/search.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js
index 8701c33c3..dc7bfcf42 100644
--- a/install/ui/src/freeipa/search.js
+++ b/install/ui/src/freeipa/search.js
@@ -314,7 +314,8 @@ IPA.search_deleter_dialog = function(spec) {
that.create_command = function() {
var batch = rpc.batch_command({
- error_message: '@i18n:search.partial_delete'
+ error_message: '@i18n:search.partial_delete',
+ name: that.entity.name + '_batch_del'
});
for (var i=0; i<that.values.length; i++) {