7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » JS conflict when using SimpleTinyMCEField and ImageUploadField
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 781 Views |
-
JS conflict when using SimpleTinyMCEField and ImageUploadField

23 March 2011 at 9:27pm
I have an extended DOM. The popup contains SimpleTinyMCEField and ImageUploadField. The SimpleTinyMCEField is not displaying the tiny menu. The error is "$ is not a function".
The menu appears if I disable ImageUploadField. I am running 2.4.3 and using the latest release of DOM.
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

24 March 2011 at 2:30am
You're using the GitHub distribution of DOM? That bug was fixed a few commits back.
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

24 March 2011 at 5:05am
UC,
I was using the release version
Build Date: 2011-03-09
Download: DataObjectManager-master-HEAD.tar.gzJust updated to the git version ( git://github.com/unclecheese/DataObjectManager.git ) and the pop up overlay doesnt seem to work? Is there a stable version I should be using?
Thanks
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

24 March 2011 at 5:34am
What do you mean by "the popup overlay doesn't seem to work?"
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

24 March 2011 at 5:42am
Sorry UC, ignore that. Problem was I forgot to rename the DataObjectManager to dataobject_manager
Thanks for your help.
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

5 April 2011 at 4:32pm
Not sure if this is a bug, but I am now using SimpleTinyMCEField on multiple pages. On initial load of any page in the CMS the toolbar shows fine. Click on any other page thereafter and the toolbar disappears. If I force refresh the browser, the toolbar appears again for the current page being edited but again click on any other page it disappears.
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

8 April 2011 at 4:17pm
I haven't found a way to solve this problem yet. Therefore when I want to use SimpleTinyMCEField I will use ImageField or FileIFrameField for DOM popups.
There seem to be some sort of conflict with the javascript.
-
Re: JS conflict when using SimpleTinyMCEField and ImageUploadField

8 April 2011 at 4:18pm
The only way I've found is to adjust the CSS file
| 781 Views | ||
|
Page:
1
|
Go to Top |


