Hi there - I am using silverstripe 2.2.2 and am getting the following error when saving a document that has an internal link (ie a link to another page on the same site) in the document content:
Error in Ajax evaluator on line 973: syntax error in loadChildIntoDatabase$('Form_EditForm').loadActionsFromString('\n \n \n \n '); $('Form_EditForm').loadActionsFromString('\n \n \n \n '); $('Form_EditForm').updateStatus('Published'); $('sitetree').setNodeTitle(43, 'Bicycle') $('Form_EditForm').elements.StageURLSegment.value = 'http://new.thisisnotart.org/bicycle/' $('Form_EditForm').elements.LiveURLSegment.value = 'http://new.thisisnotart.org/bicycle/' $('Form_EditForm').notify('PagePublished', $('Form_EditForm').elements.ID.value); statusMessage('Published \'Bicycle\' successfully', 'good');
It seems to work fine for an external link.
Has anyone got any suggestions?
Cheers,
Rane