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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user