From 1cbc00e19dcf783ed1b47e33914700b4f06aab24 Mon Sep 17 00:00:00 2001 From: chris Houseknecht Date: Thu, 16 Jan 2014 12:46:40 -0500 Subject: [PATCH] Fixed copy host modal header. Fixed javascript error in search.js helper. --- awx/ui/static/js/helpers/search.js | 2 +- awx/ui/static/lib/ansible/InventoryTree.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/helpers/search.js b/awx/ui/static/js/helpers/search.js index c235675787..aace767693 100644 --- a/awx/ui/static/js/helpers/search.js +++ b/awx/ui/static/js/helpers/search.js @@ -544,7 +544,7 @@ angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper']) scope.searchCleanup = function() { console.log('search cleanup!'); scope.removeDoSearch(); - scope.removeFoundObject(); + //scope.removeFoundObject(); scope.removeResultWarning(); scope.removePrepareSearch(); scope.removePrepareSearch2(); diff --git a/awx/ui/static/lib/ansible/InventoryTree.js b/awx/ui/static/lib/ansible/InventoryTree.js index 48b03df06f..13cfe384af 100644 --- a/awx/ui/static/lib/ansible/InventoryTree.js +++ b/awx/ui/static/lib/ansible/InventoryTree.js @@ -444,7 +444,7 @@ angular.module('InventoryTree', ['Utilities', 'RestServices', 'GroupsHelper', 'P html += "
\n"; html += "\n"; - html += "

Copy Group

\n"; + html += "

Copy Host

\n"; html += "
\n"; html += "
\n"; html += "

Are you sure you want to copy host " + host.name + ' to group ' + target.name + '?

';