mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Modifying automount to work with new concept
https://fedorahosted.org/freeipa/ticket/2040
This commit is contained in:
committed by
Endi S. Dewata
parent
9a09916108
commit
2759ea2961
@@ -46,6 +46,15 @@ IPA.widget = function(spec) {
|
||||
that.clear = function() {
|
||||
};
|
||||
|
||||
that.set_visible = function(visible) {
|
||||
|
||||
if (visible) {
|
||||
that.container.show();
|
||||
} else {
|
||||
that.container.hide();
|
||||
}
|
||||
};
|
||||
|
||||
that.widget_create = that.create;
|
||||
|
||||
return that;
|
||||
@@ -1823,6 +1832,8 @@ IPA.collapsible_section = function(spec) {
|
||||
|
||||
that.create = function(container) {
|
||||
|
||||
that.widget_create(container);
|
||||
|
||||
that.header = $('<h2/>', {
|
||||
name: that.name,
|
||||
title: that.label
|
||||
@@ -1875,6 +1886,8 @@ IPA.details_table_section = function(spec) {
|
||||
|
||||
that.composite_widget_create = function(container) {
|
||||
|
||||
that.widget_create(container);
|
||||
|
||||
var table = $('<table/>', {
|
||||
'class': 'section-table'
|
||||
}).appendTo(container);
|
||||
|
Reference in New Issue
Block a user