I am using struts2 dialog. The code is as below
<sj:dialog id="orderRefDialog"
width="610"
autoOpen="false"
modal="true"
resizable="false"
title="Confirm"
height="auto"
buttons="{'OK':function() {
$(this).dialog('close');
performShipBox();
},
'CANCEL':function() {
$(this).dialog('close');
cancelShipbox();
}
}">
<fmt:message key='orderRef.ShipBox' />
</sj:dialog>
When the dialog is open and any button on dialog is clicked it is giving javascript error
Stack OverFlow at line:1648
If I remove model=true
this error does not occur, but I dont think it's a good way.
What can it be ?