* [MOD] Changed copy to clipboard behavior when getting accounts password through Ajax.

This commit is contained in:
nuxsmin
2017-03-22 00:36:14 +01:00
parent b902bc8fae
commit 6a7d95b489
8 changed files with 400 additions and 900 deletions

View File

@@ -2,8 +2,8 @@
/**
* sysPass
*
* @author nuxsmin
* @link http://syspass.org
* @author nuxsmin
* @link http://syspass.org
* @copyright 2012-2017, Rubén Domínguez nuxsmin@$syspass.org
*
* This file is part of sysPass.
@@ -152,6 +152,14 @@ class CustomFieldData extends CustomFieldBaseData
return Html::sanitize($this->value);
}
/**
* @return string
*/
public function getSafeHtmlValue()
{
return htmlspecialchars($this->value, ENT_QUOTES);
}
/**
* @return int
*/