summaryrefslogtreecommitdiffstats
path: root/ipapython/admintool.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-07-26 11:17:28 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-08-02 10:27:17 +0200
commitc2783b9b54ecae8299da0dc593c3813c2bd26fe2 (patch)
tree8d43ff1b23545ea58a20bbc911f82f23a455acd2 /ipapython/admintool.py
parent1a94109f4ad5bcb304c4c23af868c3cf07ce92ec (diff)
downloadfreeipa-c2783b9b54ecae8299da0dc593c3813c2bd26fe2.tar.gz
freeipa-c2783b9b54ecae8299da0dc593c3813c2bd26fe2.tar.xz
freeipa-c2783b9b54ecae8299da0dc593c3813c2bd26fe2.zip
Replace use of attr with prop for booleans
Recommened way of setting boolean HTML attributes is by $.prop(boolean) method not $.attr(boolean) because it sets DOM object property not an attribute. Latter works because of jquery's backward compatibility. This patch makes things clearer. Some info about prop and attr: http://stackoverflow.com/a/5876747 https://fedorahosted.org/freeipa/ticket/2817
Diffstat (limited to 'ipapython/admintool.py')
0 files changed, 0 insertions, 0 deletions