]> projects.mako.cc - scuttle/blobdiff - templates/editbookmark.tpl.php
Changed the popup bookmark page to focus on tags field instead of address.
[scuttle] / templates / editbookmark.tpl.php
index dbc0006f310dd550ad9ba09dafdca6ed6ed6e150..fbb21bd23c7c633276c79c698837fe28a30f6995 100644 (file)
@@ -36,7 +36,7 @@ switch ($row['bStatus']) {
 </tr>
 <tr>
     <th align="left"><?php echo T_('Tags'); ?></th>
-    <td><input type="text" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" /></td>
+    <td><input class="autocomplete" type="text" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" /></td>
     <td>&larr; <?php echo T_('Comma-separated'); ?></td>
 </tr>
 <tr>
@@ -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?