mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user