ZeroClipboard error in newer versions of FireFox
ZeroClipboard error in newer versions of FireFox
jkrobbins
Posts: 32Questions: 3Answers: 0
This a continuation of this post : http://datatables.net/forums/discussion/6997/flash-divs-wrong-size#Item_5 but the original symptom is fixed and this is a new issue.
I have my app working in IE8 and FF3.6, but in FF portable 6.0.2 and 7.0.1 the ZeroClipboard.js throws a "this.movie.clearText is not a function" error. The copy button works but copies zero rows to the clipboard.
Anyone else run into this issue? Anyone else using it successfully in these versions of FireFox?
I have my app working in IE8 and FF3.6, but in FF portable 6.0.2 and 7.0.1 the ZeroClipboard.js throws a "this.movie.clearText is not a function" error. The copy button works but copies zero rows to the clipboard.
Anyone else run into this issue? Anyone else using it successfully in these versions of FireFox?
This discussion has been closed.
Replies
The important bits of code I am using in the web page are
[code]
$(document).ready(function (){
oTable = $("#sectable").dataTable({bJQueryUI: true,
sDom: '<"H"Tlfr>t<"F"ip>',
bJQueryUI: true,
bDeferRender: true,
bAutoWidth: false,
sScrollX: "100%",
sScrollXInner: "100%",
oTableTools: {
sSwfPath: "../../DataTables-1.8.1/extras/TableTools/media/swf/copy_cvs_xls_pdf.swf",
sRowSelect: "multi",
aButtons: [ "copy", "csv", "xls", "pdf" ]
}
});
});
$("#myform").submit(function(event){
event.preventDefault();
oTable.fnClearTable();
$.post( "my_data.php", { tickerlist: ticklist }, function ( data ) {
oTable.fnAddData(data.aaData);
}, "json");
});
[/code]
Does anyone have a clue as to where the problem is?
When I did that last step, I no longer received the error messages about clearText!!!! Furthermore, the TableTools examples that come with the dataTables package started to work. I could open the sample html files in IE and actually produce PDF reports.
The *bad* news is, I can't get the same PDF reports via the IE web browser control hosted on a form!!! I don't get any errors appearing, but, I also don't get any PDF :( It seems like the IE web browser control is somehow blocking the code when you try to click on the PDF option.