Announcement

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

#1 2005-04-09 00:30:34

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

A push function from another script causing contextmenu to not work

Hey guys,

Been banging my head on the wall for a few hours just to find out a javascript validation system we are using on the same page calls this function:

/*      Prototype push if missing
------------------------------------------- */
if ( typeof Array.push == 'undefined' )
Array.prototype.push = function()
{
        var arg, i = 0;
        while( arg = arguments[i++] )
        {
                this[this.length] = arg;
        }
        return this.length;
}


This function causes the context menu to not work (only shows cut/copy/paste).  Any ideas how we can fix this?

Thanks!

Offline

#2 2005-04-12 23:07:23

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: A push function from another script causing contextmenu to not work

Any ideas on this guys?  I really need a fix.

Offline

#3 2005-04-13 02:09:56

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: A push function from another script causing contextmenu to not work

renamed the push and moved the thing out of the form submit and changed it around for the onsubmit button -- now it works

Offline

Board footer

Powered by FluxBB