Hello. I'm using Lenya 1.2.4 with Cocoon 2.1.7, and I've noticed a
JavaScript error occurring when I click the "Add" button on the
"Authoring"->"Workflow"->"Schedule" page. The error is "Error: Object
required". I think I can fix this problem, however I was wondering if
someone could verify that this won't break something else:
I believe the problem is that the common.xsl file (lenya/xslt/scheduler/)
has the following line:
elements['notification.tolist'].value =
document.getElementById('notification.tolist').value.replace(/[^a-zA-Z0-9_,[EMAIL
PROTECTED]/g,
'')+','+document.getElementById('notification.tolist.preset').value;
The object 'notification.tolist.preset' doesn't exist anywhere on this page,
therefore I can clean up the error by changing it to 'notification.tolist'.
The only problem with this is that I don't understand what this line is for,
or why it's setting the value as it is. I'll probably just change it to:
elements['notification.tolist'].value =
document.getElementById('notification.tolist').value.replace(/[^a-zA-Z0-9_,[EMAIL
PROTECTED]/g,
'');
Has anyone fixed this using a better method?
Thank you,
Brad Murphy
--
View this message in context:
http://www.nabble.com/JavaScript-error-in-IE-tf4018626.html#a11413230
Sent from the Lenya - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]