coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: ashis on March 08, 2011, 01:17:30 PM

Title: Jquery error
Post by: ashis on March 08, 2011, 01:17:30 PM
I am new here.i am using this script.i want to write a chat plugin.I have codded something of this.When i was testing the plugin i got error called
Quote"A script on this page may have busy, or it may have stopped responding."
I am using firefox. I traced out the error.It occurs from script.js in cpg js directory
line 300 to 317

Quote// This prototype is from the public domain.
// Source: http://www.hunlock.com/blogs/Mastering_Javascript_Arrays
.
.
.
// end function prototype array.find

I am using chat.js for my chatplugin.I know that its really heard to solve without viewing the code.But if any one can plz rply.
Thanks in advanced

Title: Re: Jquery error
Post by: papukaija on March 08, 2011, 01:43:05 PM
The error message may mean that your server is just responding too slowly. Attaching the plugin (or just the javascript) would be helpful. Please post a link to your gallery (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616) as requested by board rules.
Title: Re: Jquery error
Post by: ashis on March 08, 2011, 01:50:23 PM
Thanks for your fast rply.Wait let me try again.I hav searched in google and found many people got in prob for this prototype.
QuoteArray.prototype.find = function(searchStr)
If i will fail i will attach the code here.Thanks again