21300 Posts in 5735 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 728 Views |
-
ModelAdmin – breaks after save

12 February 2010 at 12:07pm
Hi there
I'm using SilverStripe 2.3.5 and modelAdmin, however there is a weird bug when I save a record. After saving I can't create a new record. Instead, the form shows up in the browser without css attached to it.
Any ideas what could cause this?
Joel
-
Re: ModelAdmin – breaks after save

28 February 2010 at 10:53pm
hi
I have the same problem. It seams to be an javascript erro, but i can't find anything....
Enno
-
Re: ModelAdmin – breaks after save

28 February 2010 at 11:02pm
Hi Altima
It's a problem with tinyMCE. I simply solved it by commenting out this line in modeladmin.js, since I don't have any htmlTextfields:
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
Anyway, I think there is a patch for this somewhere. Just search for "modeladmin tinymce". I just couldn't get the patch to work
Another error that crashed my saving was an e-mail field I couln't get to work either. I altered this to a normal textfield and now modeladmin works for me.
Joel
| 728 Views | ||
|
Page:
1
|
Go to Top |

