PDA

View Full Version : IE browser issue with Ext.MessageBox.show



wskent
13 Dec 2010, 1:55 PM
The following code is working fine in Firefox, but displays the following down the field column in the IE browser. I am just trying to get a simple text popup to work for both IE and Firefox (latest versions).

Here is what is displayed down the field column in IE:
<div class="x-grid3-cell-inner x-grid3-col-8" unselectable="on"
ext:qtitle="comments" ext:qtip="Text Information for display ">

<img src="/epic-docqueue/imgJawr/jar_cb3578347890/epic/images/attach.gif" onclick="Ext.MessageBox.show(
{title:'Note:',msg:'Text Information for display ',buttons: Ext.MessageBox.OK,icon:Ext.MessageBox.INFO})"
/>

Here is the pertinent Ext JS code excerpt:
renderer : function(data, cell, record, rowIndex, columnIndex, store) {
if(data != null){
cell.attr = "ext:qtitle=\"comments\" ext:qtip=\"" + data + "\"";

return '<img src="' + pdfAttachImagePath + '" onclick="Ext.MessageBox.show({title:\'Note:\',msg:\'' +data+'\',buttons: Ext.MessageBox.OK,icon:Ext.MessageBox.INFO})" />';
}
return "&nbsp;"
}