Use entity names for tab state.

Previously the tab state is represented using numeric index such
as navigation=0&identity=1 which is not very user friendly. Now the
code has been modified to use entity names such as
navigation=identity&identity=group.
This commit is contained in:
Endi S. Dewata
2011-04-28 17:38:21 -05:00
parent 238da3dffd
commit 5eb9f088f2
11 changed files with 99 additions and 118 deletions

View File

@@ -117,7 +117,7 @@ test("Testing IPA.navigation.update() with valid index.", function() {
};
navigation.create();
navigation.push_state({"identity":1});
navigation.push_state({'identity': 'two'});
navigation.update();
same(
@@ -164,7 +164,7 @@ test("Testing IPA.navigation.update() with out-of-range index.", function() {
};
navigation.create();
navigation.push_state({"identity":2});
navigation.push_state({'identity': 'three'});
navigation.update();
same(