1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 22:08:00 +01:00

Send "change" event when editing file upload boxes.

This commit is contained in:
Kris Maglione
2011-01-15 18:24:02 -05:00
parent 83778a8e16
commit eacd52dffb
2 changed files with 7 additions and 2 deletions

View File

@@ -1197,6 +1197,7 @@ var Buffer = Module("buffer", {
dactyl.assert(file.exists());
elem.value = file.path;
events.dispatch(elem, events.create(elem.ownerDocument, "change", {}));
}, {
completer: function (context) completion.file(context),
default: elem.value