SF Bug #2987374 - autofill problem on samba passwords
This commit is contained in:
parent
bf8ac5306e
commit
75640ccc3e
@ -2360,13 +2360,13 @@ function deleteAttribute(attrName,friendlyName,i)
|
|||||||
/** PASSWORD ATTRIBUTES **/
|
/** PASSWORD ATTRIBUTES **/
|
||||||
|
|
||||||
protected function drawJavascriptPasswordAttribute($attribute) {
|
protected function drawJavascriptPasswordAttribute($attribute) {
|
||||||
static $drawn = false;
|
static $drawn = array();
|
||||||
|
|
||||||
# This JS may have been rendered by multiple Binary attributes
|
# This JS may have been rendered by multiple Binary attributes
|
||||||
if ($drawn)
|
if (isset($drawn[$attribute->getName()]) && $drawn[$attribute->getName()])
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
$drawn = true;
|
$drawn[$attribute->getName()] = true;
|
||||||
|
|
||||||
printf('<!-- START: PASSWORD ATTRIBUTE %s (%s)-->',__METHOD__,$attribute->getName());
|
printf('<!-- START: PASSWORD ATTRIBUTE %s (%s)-->',__METHOD__,$attribute->getName());
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user