Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Non Modal Dialog Submit button throws Javascript error

unficypMay 6 2018 — edited May 9 2018

Hi,

using APEX 5.1.4.

I have a non-modal dialog which is opened from the Desktop Navigation Menu.

This page has some regions and one submit button submitting the page. During submit i get the following javascript error:

(all of this stuff was added declarative, no dynamic actions or whatever)

desktop.min.js?v=5.1.4.00.08:8 Uncaught TypeError: Cannot read property 'dialogClass' of undefined

    at HTMLDocument.a.dialog (desktop.min.js?v=5.1.4.00.08:8)

    at i (jquery-2.2.3.min.js?v=5.1.4.00.08:2)

    at Object.add [as done] (jquery-2.2.3.min.js?v=5.1.4.00.08:2)

    at n.fn.init.n.fn.ready (jquery-2.2.3.min.js?v=5.1.4.00.08:2)

    at new n.fn.init (jquery-2.2.3.min.js?v=5.1.4.00.08:2)

    at n (jquery-2.2.3.min.js?v=5.1.4.00.08:2)

    at Object.a.dialog (desktop.min.js?v=5.1.4.00.08:8)

    at Function.<anonymous> (<anonymous>:1:71)

    at Function.a.dialog.close (desktop.min.js?v=5.1.4.00.08:8)

    at <anonymous>:1:24

After a second click, the page gets submitted but the window resizes to the browser header bar only (looks like body has 0/0 for width/height but this is solveable by giving the window some heigth/width)

Tried to attach a dynamic action and submit the page from the DA -> same error

With 18.1 on apex.oracle.com, at least the submit works - the error "Uncaught TypeError: Cannot read property 'dialogClass' of undefined" still shows up in the console for a short time.

Redirecting to another page works.

Did i miss something ?

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2018
Added on May 6 2018
13 comments
1,398 views