swfobject "operation aborted"

gilmichlin - March 18, 2008 - 22:03
Project:Open Flash Chart API
Version:5.x-2.6
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

when using JSTOOLS and TABS you will get the following error in IE7.
that is cause by "defer" issue see:
http://www.monoslideshow.com/vanilla/discussion/162/operation-aborted-in...

the fix is to change line 882 from:

<script type="text/javascript">

to:
<script type="text/javascript" defer="true">

#1

gilmichlin - March 21, 2008 - 12:18

sadly i must say that defer not always works.
it's seems like IE bug : http://support.microsoft.com/default.aspx/kb/927917
but whats bother me is that in http://teethgrinder.co.uk/open-flash-chart/tutorial.php
everything works fine.
I tried to play with the render function with no success.

#2

esmailzadeh - June 5, 2008 - 01:38
Priority:normal» critical

hi
so how we can solve this problem?
i think when i install jstools this problem occurred.
i think this is critical bug. (if can saied this is ofc bug and this is not ie bug )

#3

esmailzadeh - June 5, 2008 - 01:39

this solution (defer="true") just desable my chart and no more

#4

esmailzadeh - June 6, 2008 - 12:22

this is fixed with H3rnand3z :
in open_flash_chart_api.module
after line 882 I inserted
$(document).ready(function(){
and after line 1016 I inserted
});
please add this to open_flash_chart_api core

#5

redndahead - June 6, 2008 - 18:07
Status:active» needs review

I'm attaching a patch for this. You will need to patch it against cvs. Anybody else can tell me if this works?

AttachmentSize
operation_aborted.patch 1.23 KB

#6

redndahead - June 6, 2008 - 18:13

Here's the Drupal 6 Version

AttachmentSize
operation_aborted_d6.patch 1.27 KB

#7

esmailzadeh - June 6, 2008 - 19:51

i test it and this work good (i apply this patch manually and without any patch mechanism)

#8

redndahead - June 19, 2008 - 19:50
Status:needs review» fixed

Committed

#9

Anonymous (not verified) - July 3, 2008 - 19:54
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.