Monotone-Parent: d31a045aea36312935ee1173ab031b085b099751

Monotone-Revision: 6cfba12fb94b5901b149e029c710bdc53dd3d3f1

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-05-09T21:27:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-05-09 21:27:55 +00:00
parent 9ade9e87a8
commit 634e3429eb
5 changed files with 111 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
HTMLInputElement.prototype._replicate = function() {
if (this.replica) {
this.replica.value = this.value;
var onReplicaChangeEvent = document.createEvent("Event");
var onReplicaChangeEvent = document.createEvent("UIEvents");
onReplicaChangeEvent.initEvent("change", true, true);
this.replica.dispatchEvent(onReplicaChangeEvent);
}
@@ -56,7 +56,7 @@ HTMLInputElement.prototype.valueAsShortDateString = function() {
HTMLSelectElement.prototype._replicate = function() {
if (this.replica) {
this.replica.value = this.value;
var onReplicaChangeEvent = document.createEvent("Event");
var onReplicaChangeEvent = document.createEvent("UIEvents");
onReplicaChangeEvent.initEvent("change", true, true);
this.replica.dispatchEvent(onReplicaChangeEvent);
}