diff options
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r-- | install/ui/widget.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js index 69fe704b..ab39b24e 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -948,7 +948,7 @@ IPA.column = function (spec) { throw except; } - that.setup = function(container, record) { + that.setup = function(container, record, suppress_link) { container.empty(); @@ -958,7 +958,7 @@ IPA.column = function (spec) { } value = value ? value.toString() : ''; - if (that.link) { + if (that.link && !suppress_link) { $('<a/>', { href: '#'+value, text: value, @@ -1378,10 +1378,14 @@ IPA.table_widget = function (spec) { var div = $('div[name="'+column.name+'"]', tr); - column.setup(div, record); + that.setup_column(column, div, record); } }; + that.setup_column = function(column, div, record) { + column.setup(div, record); + }; + that.add_rows = function(rows) { for (var i=0; i<rows.length; i++) { var tr = rows[i]; |