[Conkeror] unfocus when exiting external editor

samuel hanot hanot.samuel at gmail.com
Thu Mar 6 04:00:51 PST 2008


Hi,

I thought it was stupid to have to manually unfocus the text input
boxes when closing the external editor.

I modified the function to avoid me unnecessary ESC key presses.

interactive("edit-current-field-in-external-editor", function (I) {
    var buf = I.buffer;
    yield edit_field_in_external_editor(buf, buf.focused_element);
    unfocus(buf);
});


Hope it helps someone.

sam

ps : don't know if it is the right place to post tips and tricks, but
as we can't loggin into the drupal, i thought this was better than
nothing.


More information about the Conkeror mailing list