summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/widget.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-05-24 17:02:05 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-07-16 13:15:47 +0200
commita83e879e18148c763fcb09df42e08e1cf90dee84 (patch)
tree4e0f782ba13f1f56e44b3df7c9b6a21cd9695a35 /install/ui/src/freeipa/widget.js
parent7a105604e265222cf6f96b0ac060d4f1b2504b6c (diff)
downloadfreeipa.git-a83e879e18148c763fcb09df42e08e1cf90dee84.tar.gz
freeipa.git-a83e879e18148c763fcb09df42e08e1cf90dee84.tar.xz
freeipa.git-a83e879e18148c763fcb09df42e08e1cf90dee84.zip
Better automated test support
1. add class to active facet instead of using direct style modification for hiding/showing 2. add name attribute to tables and dialog buttons and error dialog https://fedorahosted.org/freeipa/ticket/3744
Diffstat (limited to 'install/ui/src/freeipa/widget.js')
-rw-r--r--install/ui/src/freeipa/widget.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index 62a71f0a..06fcef56 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -1561,7 +1561,8 @@ IPA.table_widget = function (spec) {
container.addClass('table-widget');
that.table = $('<table/>', {
- 'class': 'search-table'
+ 'class': 'search-table',
+ name: that.name
}).appendTo(container);
if (that['class']) that.table.addClass(that['class']);