vt730: Bug in Contacts_Detail_Js.checkForPortalUser()
See this line: https://code.vtiger.com/vtiger/vtigercrm/blob/7.4.0/layouts/v7/modules/Contacts/resources/Detail.js#L34
Whilst the var "primaryEmailField" is a jQuery Object, I do not believe that "primaryEmailField[0]" is. It is a simple html element and therefore doesn't support the jQuery data() method. (FWIW I also believe that you should not be enclosing the 0 with quotes.)
Using Firefox, I get an intermittent error (but bizarrely not always):
TypeError: primaryEmailField[0].data is not a function
checkForPortalUser http://dev.libertus.co.uk/vt730/layouts/v7/modules/Contacts/resources/Detail.js?v=7.3.0:34
registerAjaxPreSaveEvents http://dev.libertus.co.uk/vt730/layouts/v7/modules/Contacts/resources/Detail.js?v=7.3.0:14
If I change the above line to:
var primaryEmailValue = jQuery(primaryEmailField[0]).data("value");
Then the error goes away and I can save the Portal checkbox in Detail view.
Edited by Prasad