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:29:26 +0000
commit060eea5f03eefb731ed6991cbdf811212e730b24 (patch)
tree4338148e6d188c0fced63078a26db322062c1619 /install/ui/test
parentad37727150abecb19a55fe7ae18bccb3a63052b9 (diff)
downloadfreeipa-060eea5f03eefb731ed6991cbdf811212e730b24.tar.gz
freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.tar.xz
freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.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'}
]}
]
});