My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 201: Error, when callin nyro the first time
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jul 2009


 
Reported by e...@abcstudio.com.au, Mar 20, 2009
I am using the nyromanual to get a php generated page via ajax:
<div onclick="assignNyro2('myl', '64')">assign Nyro</div>
<br  /> <a id="myl" href="#">my link</a>

<script type="text/javascript">
 function assignNyro2(link, userid){
    var sss = "$j(function() {$j('#" + link + 
       "').click(function(e)
{e.preventDefault();$j.nyroModalManual({minWidth: 550, url:
'http://www.mydomain.com/index2.php?option=com_comprofiler&amp;task=userProfile&amp;user="
+ userid + "'});return false;});})";
    eval (sss);
}

It renders the page perfectly fine, but generates an error, when clicking
on the assigned link FIRST TIME only. When clicking on the same link 2nd
time, no errors generated. IE and FF return different errors:

1) FF: Permission denied to get property XULElement.accessibleType
(jquery-1.3.2.js (line 2370)

FF: Permission denied to get property XULElement.accessibleType ([Break on
this error]  if ( elem.offsetWidth !== 0 )
jquery-1.3.2.js (line 770)

IE7: Error: object required (jquery-1.3.2.js break point: 2338
var isXML = function(elem)

==========================

After triggering the error the 1st time, it all works fine, i.e. clicking
on the link 2nd time generates no errors


Mar 20, 2009
#2 e...@abcstudio.com.au
I have narrowed the problem. I compares two <div id="nyroModalFull" > innerHTML for
two cases. Here is the difference:

1) First click (generates errors):
<div style="width: 550px; height: 289px;" class="wrapperIframe">

2) second click (no errors):
<div class="wrapperIframe">

Every next time rendering the nyromodal returns (2) with no errors.

Mar 22, 2009
#3 e...@abcstudio.com.au
Any help here?
Apr 9, 2009
Project Member #4 nyro...@gmail.com
in IE7, it's working great for me.
Did you set a doctype on your HTML page?
Could you send a link please?
May 14, 2009
Project Member #5 nyro...@gmail.com
any news about this issue?
May 14, 2009
#6 e...@abcstudio.com.au
Yes, I have fixed it by changing nyro code a bit; just cannot remember exactly what I
changed - take a look if you can find any difference with your code. 
nyro_unp.js
48.4 KB   View   Download
Jul 9, 2009
Project Member #7 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix

Powered by Google Project Hosting