【发布时间】:2009-09-01 02:46:56
【问题描述】:
您好,
我正在尝试运行使用 Oracle DBMS 的基于 Web 的界面 Application Express (APEX) 上传的 SQL 脚本。
但是,单击“运行”按钮后,它什么也没做,怀疑有任何 javascript 错误,我拔出了 firebug,js 上似乎有错误。
this.endLine.isPreceding is not a function
http://localhost:8080/i/editor/codearea.xbl.xml
Line 2864
firebug 报告了什么。
对此有任何想法吗?
提前致谢。
-哇
编辑:js部分
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;
};
【问题讨论】:
-
你能发布 SQL 脚本,以及萤火虫错误指向的部分 javascript 吗?
-
我不确定是否允许我发布 sql,但我认为它与 SQL 无关,因为它甚至没有通过 Run 命令。我用 js 代码编辑了我的帖子。 CodeRange.prototype.setStartBeforeEnd = function() { if (this.endLine.isPreceding(this.startLine) || (this.endLine == this.startLine && this.endCol
-
啊,忘记从评论中删除代码,抱歉。 :(
标签: javascript sql oracle oracle-apex