From 37d3e9056791c97ea057d87bcb256dde9f69f1c5 Mon Sep 17 00:00:00 2001 From: keis Date: Fri, 29 Apr 2011 20:35:49 +0200 Subject: use focus_element instead of form active --- examples/config/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index 8c706df..0336f1d 100644 --- a/examples/config/config +++ b/examples/config/config @@ -83,7 +83,7 @@ set download_handler = sync_spawn @scripts_dir/download.sh @on_event LOAD_FINISH spawn @scripts_dir/history.sh # Switch to insert mode if a (editable) html form is clicked -@on_event FORM_ACTIVE @set_mode insert +@on_event FOCUS_ELEMENT sh 'if [ "$1" == INPUT ]; then echo "@set_mode insert" > $UZBL_FIFO; fi' %s # Switch to command mode if anything else is clicked @on_event ROOT_ACTIVE @set_mode command -- cgit v1.2.3