Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Nested DOM popup not popping up

Go to End

19 Posts   3290 Views

Carbon Crayon

5 September 2009 at 5:12am (Last edited: 5 September 2009 5:19am), Community Member, 598 Posts

Hi guys,

I am using a nested DOM and nested fileDOM, almost identical to the example in the video. It all works fine except for the secont level popup, when I click to create a new Object within the nested DOM it just loads the form in the current popupwindow rather than opening a new one.

I'm sure it must just be a simple problem with the JS but I can't seem to find it.

I am using the latest SVN DOM and SS 2.3.3.

Any help much appreciated,



6 September 2009 at 3:31am 4085 Posts

Confirmed the bug. Working on it. Thanks, Aram.

Appears to be another victim of the new DatePickerField. :(


6 September 2009 at 4:16am 4085 Posts

Okay, just checked in a fix. You want to give it a go? NestedDOM is largely untested, so hopefully you can help bang on it a little bit and get it running smoothly. Added a few more enhancements while I was in there.

Carbon Crayon

6 September 2009 at 4:19am Community Member, 598 Posts

Sweet, testing it now :)

Carbon Crayon

6 September 2009 at 4:30am Community Member, 598 Posts

Worked a treat!

The only thing I noticed was that the path the the nested popups close image is absolute so on a localhost it doesnt work, I changed it to relative (removed the first slash) and it works fine now.

line 159 of dataobject_manager.css:

background-image: url(/dataobject_manager/images/closebox.png);

chenaged to:

background-image: url(dataobject_manager/images/closebox.png);

Thanks for your (as usual) superb support UncleCheese! :)


6 September 2009 at 5:16am (Last edited: 6 September 2009 5:16am), 4085 Posts

Perfect. Thanks for that.

Now on to the 300 other bugs I need to patch up. :)

Andrew Houle

28 October 2009 at 5:23am Community Member, 132 Posts

I have a simple nested DOM setup. My popup window doesn't work either, and I get the following errors:

Error: $(".DataObjectManager").livequery is not a function
Source File:
Line: 279

Error: Enumerable is not defined
Source File:
Line: 71

Also, the files that I upload show on every dataobject, not just the dataobject that they should be associated with. Any ideas?



28 October 2009 at 6:28am 4085 Posts

Is livequery.js included more than once? Or not at all? Both will result in that error.

Try changing the pathing on lines 544 and 586 of DataObjectManager.php.

Go to Top