summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/aci.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/aci.js
parent7a105604e265222cf6f96b0ac060d4f1b2504b6c (diff)
downloadfreeipa-a83e879e18148c763fcb09df42e08e1cf90dee84.tar.gz
freeipa-a83e879e18148c763fcb09df42e08e1cf90dee84.tar.xz
freeipa-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/aci.js')
-rw-r--r--install/ui/src/freeipa/aci.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/aci.js b/install/ui/src/freeipa/aci.js
index aa28d7218..3ca10dbfb 100644
--- a/install/ui/src/freeipa/aci.js
+++ b/install/ui/src/freeipa/aci.js
@@ -483,8 +483,9 @@ IPA.attributes_widget = function(spec) {
}).appendTo(container);
that.$node = that.table = $('<table/>', {
- id:id,
- 'class':'search-table aci-attribute-table scrollable'
+ id: id,
+ name: that.name,
+ 'class': 'search-table aci-attribute-table scrollable'
}).
append('<thead/>').
append('<tbody/>').
@@ -526,7 +527,7 @@ IPA.attributes_widget = function(spec) {
var td = $('<td/>').appendTo(tr);
var name = that.get_input_name();
- var id = that.option_next_id + name;
+ var id = that._option_next_id + name;
td.append($('<input/>',{
id: id,
type: 'checkbox',