Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-06-15 01:02:11

Air
New member
From: NYC
Registered: 2005-06-15
Posts: 9

Flush xx events, what's going on?

Hi all;

I'm a newbie at this but have been playing with this the latter part of the day and I gotta say it ROCKS!

However, there's something happening and I couldn't find it described in the forum or in the tickets.

I get a Javascript alert that says "Flushed xx Events" where xx has ranged from around 100 to over 400.  Has anyone seen this?  It works and submits to my db (using Perl (dbman) to a flat file db) but that alert box pops up every time.

I'm guessing it's coming from here:

  if(document.all)
  {
    for(var i = 0; i < document.all.length; i++)
    {
      for(var j in document.all[i])
      {
        if(/^on/.test(j) && typeof document.all[i][j] == 'function')
        {
          document.all[i][j] = null;
          x++;
        }
      }
    }
  }
  alert('Flushed ' + x + ' events.');

Should I be worried about it or is this normal?

I am using the nightly version on 6-14-05.

Thanks!

Offline

#2 2005-06-15 03:01:59

Siriuss[FN]
New member
Registered: 2005-02-21
Posts: 2

Re: Flush xx events, what's going on?

Do not worry mate, it s for dev purpose, probobly someone wants to free up javascript generated buffers or someting, i have no great knowledge in js, so can`t explain more. But do not worry, comment out
window.onunload = HTMLArea.flushEvents;
on your config part, alert part in big js file.

Offline

#3 2005-06-15 06:12:29

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Flush xx events, what's going on?

Yes, just comment out that onunload line in your javascript.  It's just an experimental thing that doesn't really do anything useful (yet).


James Sleeman

Offline

#4 2005-06-15 08:05:10

Air
New member
From: NYC
Registered: 2005-06-15
Posts: 9

Re: Flush xx events, what's going on?

Great, thanks!

Offline

Board footer

Powered by FluxBB