mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Moved entity contents outside navigation.
Previously the entities and navigation are entangled inside a common DOM structure which limits code reuse. Now they have been moved into separate structures.
This commit is contained in:
@@ -128,7 +128,8 @@ $(function() {
|
||||
}
|
||||
|
||||
return factory({
|
||||
container: $('#navigation')
|
||||
container: $('#navigation'),
|
||||
content: $('#content')
|
||||
});
|
||||
}
|
||||
|
||||
@@ -153,7 +154,7 @@ $(function() {
|
||||
|
||||
|
||||
function init_on_error(xhr, text_status, error_thrown) {
|
||||
var container = $('#navigation').empty();
|
||||
var container = $('#content').empty();
|
||||
container.append('<p>Error: '+error_thrown.name+'</p>');
|
||||
container.append('<p>'+error_thrown.title+'</p>');
|
||||
container.append('<p>'+error_thrown.message+'</p>');
|
||||
|
||||
Reference in New Issue
Block a user