Checking in attachment 136220 for bug 223505

This commit is contained in:
mostafah%oeone.com 2003-12-04 19:08:45 +00:00
Родитель 36877edec6
Коммит 1226265b8f
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -325,7 +325,15 @@
this.value = aDay.date;
if (this.onchange) this.onchange();
// For an unknown reason the bug http://bugzilla.mozilla.org/show_bug.cgi?id=223505 is corrected
// by direct call of the attribute. This bug occurs on Moz1.5 and Moz1.6a and related applications
// like Thunderbird. It has been observe on Windows in a NON reproduicible way.
// This correction could be also a temporary one.
// Original code :
// if (this.onchange) this.onchange();
// New code :
if (this.onchange) eval( this.getAttribute("onchange") );
if (this.parentNode.parentNode.parentNode.parentNode.callback)
this.parentNode.parentNode.parentNode.parentNode.callback();