7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Nested DOM popup not popping up
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 2735 Views |
-
Nested DOM popup not popping up

5 September 2009 at 5:12am Last edited: 5 September 2009 5:19am
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,
Thanks!
-
Re: Nested DOM popup not popping up

6 September 2009 at 3:31am
Confirmed the bug. Working on it. Thanks, Aram.
Appears to be another victim of the new DatePickerField.
-
Re: Nested DOM popup not popping up

6 September 2009 at 4:16am
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.
-
Re: Nested DOM popup not popping up

6 September 2009 at 4:30am
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!
-
Re: Nested DOM popup not popping up

6 September 2009 at 5:16am Last edited: 6 September 2009 5:16am
Perfect. Thanks for that.
Now on to the 300 other bugs I need to patch up.
-
Re: Nested DOM popup not popping up

28 October 2009 at 5:23am
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: http://64.30.240.49/dataobject_manager/javascript/dataobject_manager.js?m=1255543641
Line: 279Error: Enumerable is not defined
Source File: http://64.30.240.49/assets/leftandmain.js?m=1256655262
Line: 71Also, the files that I upload show on every dataobject, not just the dataobject that they should be associated with. Any ideas?
Thanks
-
Re: Nested DOM popup not popping up

28 October 2009 at 6:28am
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.
| 2735 Views | ||
| Go to Top | Next > |


