7913 Posts in 1355 Topics by 930 members
|Go to End||Next >|
22 November 2009 at 5:08am
Just realized.. it's not going to be good enough to add the metatag to the popup template, because that's nested in an iframe, which is agnostic of facebox. The true fix would have to be to add the emulate IE7 meta tag to the CMSMain template. Ouch.
As an experiment, please try adding this as the first line to DataObjectManager.ss (or FileDataObjectManager.ss, or whatever you're using..)
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
Actually, I can almost guarantee that this won't work because the DOM is loaded with AJAX. Hmm..
Alright, time to look for a new modal window.
22 November 2009 at 1:28pm
I did a global find and replace for "new Image()" >> "document.createElement("img")" in facebox.js. Seems to work but couldn't say whether it's suitable or fits across all browsers.
22 November 2009 at 2:06pm
Wow. Thanks so much. Worst case we can use $.browser to detect IE8 if it doesn't work in all browsers.
Thanks.. that takes some weight off my shoulders!
15 February 2010 at 4:48am Last edited: 15 February 2010 4:49am
Hi UncleCheese & Co
I think this topic might be the issue I'm experiencing with modelAdmin. However, I've had a closer look at dataobject_manager.js and everything seems to be updated. I've taken some screenshots to show whats going on.
When I open modelAdmin and do a "Search" everything is ok. I'm also able to "Create 'XXXXXX'" from modelAdmin.
However, after "Add"'ing a new object things become strange: If I do a new "Search" or "Create XXXXXX" the form shows up in the browser window without css-style and not in the SilverStripe CMS. This doesn't happend if I do a "Search", edit an object and hit regular "Save", only when I add a new object from the "Create XXXXXX"-button. Please see next screenshot which shows the strange behaviour:
I'm using SilverStripe 2.3.5 and DOM (modules-dataobject_manager-r364.tar.gz), so all files are pretty new. My browsers are Firefox 3.5.7 and Safari 4.0.4 on Mac OS X.
I can give ftp-access, if someone has time to take a closer look.
Anyway, thanks for any help
15 February 2010 at 5:11am
15 February 2010 at 6:22am
The only error I can find is:
tinyMCE is not defined
? in ModelAdmin.js?m=1263505532@85()ModelA...3505532 (linje 86)
? in jquery.js?m=1227675043@724()jquery...7675043 (linje 745)
? in jquery.js?m=1227675043@137()jquery...7675043 (linje 138)
? in ModelAdmin.js?m=1263505532@82()ModelA...3505532 (linje 85)
? in jquery.js?m=1227675043@2051()jquery...7675043 (linje 2076)
? in jquery.js?m=1227675043@1854()jquery...7675043 (linje 1858)
[Break on this error] tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
ModelA...3505532 (linje 86)
15 February 2010 at 6:55am
Are you using a tinyMCE field?
15 February 2010 at 7:35am
No, I'm not using a tinyMCE field... I have a couple of TextareaFields, TextFields, HeaderField, Literalfields, checkboxes, imagefields and dropdowns. And then a HasOneDataObjectManager and ManyManyDataObjectManager.
You can see the file here: http://www.joel.biz/Employee.txt
|Go to Top||Next >|