Skip to content
Snippets Groups Projects
Commit 335d009d authored by Apparao G's avatar Apparao G
Browse files

#Fix:Disable ajax edit of signature field in Users

parent 405f4078
No related branches found
No related tags found
1 merge request!946#Fix:Disable ajax edit of signature field in Users
......@@ -63,7 +63,7 @@ class Users_Field_Model extends Vtiger_Field_Model {
* @return <Boolean>
*/
public function isAjaxEditable() {
if(!$this->isEditable() || $this->get('uitype') == 105 || $this->get('uitype') == 106 || $this->get('uitype') == 98 || $this->get('uitype') == 101) {
if(!$this->isEditable() || $this->get('uitype') == 105 || $this->get('uitype') == 106 || $this->get('uitype') == 98 || $this->get('uitype') == 101 || ($this->get('uitype') == 21 && $this->getName() == 'signature')) {
return false;
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment