Hello all,
When I try to create a new contact address for a portal then javascript is
blocked for all buttons on the page, here is code snippet for javascript of
form
<form method="post" action="<@ofbizUrl>createPortalPagePortlet</@ofbizUrl>"
onSubmit="javascript:submitFormDisableSubmits(this)"
name="createPortalPortlet">
<input name="portalPortletId" value="${portalPortlet.portalPortletId}"
type="hidden"/>
<input name="portalPageId" value="${parameters.portalPageId}"
type="hidden"/>
<input name="columnSeqId" value="${parameters.columnSeqId}"
type="hidden"/>
</form>
<a class="buttontext"
href="javascript:document.createPortalPortlet.submit()">${uiLabelMap.CommonAdd}:
${portalPortlet.portletName}</a>
In the above code javascript:document.createPortalPortlet.submit() is
blocked and shows error in firebug with this is not a function. I searched
with existing code of other files and found no difference and those codes
are working fine.
Thanks in advance.
Thanks and Regards
Santosh Chouhan