[Freeipa-devel] [PATCH] 173 IDs and names for dialogs

Petr Vobornik pvoborni at redhat.com
Thu Jul 19 13:07:41 UTC 2012


It's hard to detect if or which type of dialog is displayed because not 
all dialogs have IDs.

On dialog open, it's id or name (if id is not set) is used for 
containing element id. Many of dialog types were missing id or name so 
name was added to each dialog type.

In HTML, element's id should be unique. Our framework allows opening two 
dialogs with the same id. It may lead to state where getElementById 
method may have unpredictable behavior. Therefore attribute 'data-name' 
with dialog's name was added to dialog's containing element. Automation 
framework can search more reliable by using this attribute instead of id.

https://fedorahosted.org/freeipa/ticket/2853
-- 
Petr Vobornik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0173-IDs-and-names-for-dialogs.patch
Type: text/x-patch
Size: 7489 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120719/119ac59c/attachment.bin>


More information about the Freeipa-devel mailing list