Project

General

Profile

Bug #21684 ยป addFireEvent.patch

Administrator Admin, 2010-08-06 16:31

View differences:

class.browse_links.php 2010-08-06 16:18:00.000000000 +0200
}
input = input + " " + cur_target + " " + cur_class + " " + cur_title;
field.value = input;
// Fire Event
if (document.createEvent) {
var evt = document.createEvent("Events");
evt.initEvent("change", true, true);
field.dispatchEvent(evt);
} else if (document.createEventObject) {
var evt = document.createEventObject();
field.fireEvent("onchange", evt);
}
'.$update.'
}
}
    (1-1/1)