Changed the popup bookmark page to focus on tags field instead of address.
authorBart Lantz <bartlantz@gmail.com>
Wed, 11 Jan 2012 05:13:23 +0000 (22:13 -0700)
committerBart Lantz <bartlantz@gmail.com>
Wed, 11 Jan 2012 05:13:23 +0000 (22:13 -0700)
The focus was being directed to the address bar, which I never change.  So I
changed it to focus on the tags field as that is the only thing I ever change
when creating a new bookmark.

templates/editbookmark.tpl.php

index 304ede6466701d46da4fc023882414da650ec644..fbb21bd23c7c633276c79c698837fe28a30f6995 100644 (file)
@@ -69,7 +69,7 @@ switch ($row['bStatus']) {
 </form>
 <script type="text/javascript">
 $(function() {
-  $("#address").focus();
+  $("#tags").focus();
 });
 </script>
 

Benjamin Mako Hill || Want to submit a patch?