summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-24 17:05:32 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-24 17:05:32 +0100
commit34d245a5cfa72d066eea89aa25c8728a5753d26d (patch)
treea3229d123b898bf430c9a9eaf9ea814e10ee89ac
parent2588a98a3e84e57a7a373607a1ef7fffef09b6fb (diff)
downloadsqltutor-plugin-34d245a5cfa72d066eea89aa25c8728a5753d26d.tar.gz
sqltutor-plugin-34d245a5cfa72d066eea89aa25c8728a5753d26d.tar.bz2
sqltutor-plugin-34d245a5cfa72d066eea89aa25c8728a5753d26d.zip
Focus query input box by default
-rw-r--r--sqlbox/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index 9f41232..601459e 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -61,7 +61,7 @@ $PAGE->set_context($context);
// other things you may want to set - remove if not needed
//$PAGE->set_cacheable(false);
-//$PAGE->set_focuscontrol('some-html-id');
+$PAGE->set_focuscontrol('id_sqlbox_query');
//$PAGE->add_body_class('sqlbox-'.$somevar);
// Output starts here