summaryrefslogtreecommitdiffstats
path: root/install/ui/test
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-19 21:04:57 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-23 15:27:17 +0000
commit188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20 (patch)
treed9a6d28065b01fba819f3dbc0d8975af6069ae36 /install/ui/test
parent4487a9564b42cdedf6bb4a84134286a131583494 (diff)
downloadfreeipa-188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20.tar.gz
freeipa-188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20.tar.xz
freeipa-188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20.zip
Fixed problem displaying special characters.
Some jQuery objects in various locations have been modified to use text() to show values obtained from the server (except messages). The text() will automatically encode special characters. Ticket #1798
Diffstat (limited to 'install/ui/test')
-rw-r--r--install/ui/test/entity_tests.js5
-rw-r--r--install/ui/test/navigation_tests.js4
2 files changed, 2 insertions, 7 deletions
diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js
index a3561613a..12a1fcae2 100644
--- a/install/ui/test/entity_tests.js
+++ b/install/ui/test/entity_tests.js
@@ -101,10 +101,5 @@ test('Testing IPA.entity_set_search_definition().', function() {
'column.label'
);
- ok(
- column.setup,
- 'column.setup not null'
- );
-
});
diff --git a/install/ui/test/navigation_tests.js b/install/ui/test/navigation_tests.js
index ece3b56d6..90e708ccb 100644
--- a/install/ui/test/navigation_tests.js
+++ b/install/ui/test/navigation_tests.js
@@ -118,8 +118,8 @@ test("Testing IPA.navigation.update() with valid index.", function() {
content: entity_container,
tabs: [
{ name:'identity', label:'IDENTITY', children: [
- {name:'one', label:'One', setup: function (){}},
- {name:'two', label:'Two', setup: function (){}}
+ {name:'one', label:'One'},
+ {name:'two', label:'Two'}
]}
]
});