Forums
View unanswered posts | View active topics It is currently Wed Apr 23, 2014 9:07 am



Reply to topic  [ 7 posts ] 
 'I.currentStyle' is null or not an object 
Author Message

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post 'I.currentStyle' is null or not an object
Hello Jason, I receive this error " 'I.currentStyle' is null or not an object" on my project and I have created a page test for you in order to do debug and to understand better why this happened.
The test case is this; if you pres many times and fast "Ajax Call" button you will receive that error.
In my project I receive that when I switch the tabs and new content is loaded with ajax but in the test page only when I press manny times and fast on ajax button I receive that, maybe this will help you to debbug better this situation.

This is my test page:
http://mainpage.ueuo.com/Pagina%20start.htm

ps: I will try to give you a test for error "null is null or not an object" .

Thank you!


Tue Apr 09, 2013 8:05 am
Profile

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post Re: 'I.currentStyle' is null or not an object
Hello Jason, Can I have an answer for my question or advice please. I thought maybe it would be best to do a check if you have loaded all scripts and after that to apply the pie style.

Thank you.


Thu Apr 11, 2013 1:58 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: 'I.currentStyle' is null or not an object
Is this test case something you could zip up and attach so I can debug locally?

Also see similar sounding logged issues:
https://github.com/lojjic/PIE/issues/210
https://github.com/lojjic/PIE/pull/203

They've just been waiting on a test case so if yours reproduces the error reliably then that's very helpful.


Thu Apr 11, 2013 7:21 am
Profile

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post Re: 'I.currentStyle' is null or not an object
1) I have attached you archived files; Unfortunately the server is sometimes busy so if you want to run locally you must change the path to ajax page on ajax script from head.

2) Other question , I have tested for long time PIE.js and in this morning I've seen something very unusual;it seems that this function is recalling forever and always runs. To test that on ie8 I have added an alert "alert(b.innerHTML);" on below function at line 880 and this alert is given and repeat over and over for each item. I don't know if this is OK for browser performance

ia: a(function(){
var b = this.e, c = this.constructor, d = b.style;
console.log(this.e);
//alert(b.innerHTML);
b = b.currentStyle;
var e = this.wa, g = this.Fa, j = c.Yc ||
(c.Yc = f.F + e);
c = c.Zc || (c.Zc = f.nb + g.charAt(0).toUpperCase() + g.substring(1));
return d[c] || b.getAttribute(j) || d[g] || b.getAttribute(e)
})

Thank you,
have a nice weekend.


Attachments:
backups-1365747747.zip [100.11 KiB]
Downloaded 160 times
Fri Apr 12, 2013 6:23 am
Profile

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post Re: 'I.currentStyle' is null or not an object
Hello Jason, did you had time to test my scenarios?


Wed Apr 17, 2013 1:43 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: 'I.currentStyle' is null or not an object
Not yet.


Wed Apr 17, 2013 9:00 am
Profile

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post Re: 'I.currentStyle' is null or not an object
Any news?


Tue Apr 23, 2013 3:43 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.