views:

327

answers:

0

Greetings,

I am trying to run an SQL Script uploaded using Application Express (APEX), the web based interface for Oracle DBMS.

However, upon clicking the Run button, it does nothing, suspecting any javascript error, I pulled out firebug and there appears to be an error on the js.

this.endLine.isPreceding is not a function
http://localhost:8080/i/editor/codearea.xbl.xml
Line 2864

What was reported by firebug.

Any Idea on this?

Thank's in advance.

-aw

EDIT: the js portion

CodeRange.prototype.setStartBeforeEnd = function()
{
  if (this.endLine.isPreceding(this.startLine) ||
    (this.endLine == this.startLine && this.endCol < this.startCol))
  {
    var l = this.endLine;
    this.endLine = this.startLine;
    this.startLine = l;

    var c = this.endCol;
    this.endCol = this.startCol;
    this.startCol = c;
  }
  return this;
};