aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/photos
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-13 22:35:35 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-13 22:35:35 -0400
commite790d7ec5d74c5a2279d6bd73e2508eb18209da9 (patch)
tree38ed43f391038d641372e8887bcc9b68b9e55a15 /views/default/js/photos
parentf611a0505343629bb3c353647334f039bbed48af (diff)
parent0ec5f4f4f8d9011e460d17156ddf20d96483600d (diff)
downloadelgg-e790d7ec5d74c5a2279d6bd73e2508eb18209da9.tar.gz
elgg-e790d7ec5d74c5a2279d6bd73e2508eb18209da9.tar.bz2
Added deleting photo tags
Diffstat (limited to 'views/default/js/photos')
-rw-r--r--views/default/js/photos/tagging.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/views/default/js/photos/tagging.php b/views/default/js/photos/tagging.php
index a3c7efc1c..f444aa44c 100644
--- a/views/default/js/photos/tagging.php
+++ b/views/default/js/photos/tagging.php
@@ -7,7 +7,7 @@
*/
?>
-
+//<script>
elgg.provide('elgg.tidypics.tagging');
elgg.tidypics.tagging.init = function() {
@@ -82,10 +82,13 @@ elgg.tidypics.tagging.startSelect = function(img, selection) {
coords += '"height":"' + selection.height + '"';
$("input[name=coordinates]").val(coords);
- $('#tidypics-tagging-select').show().css({
- 'top' : selection.y2 + 10,
- 'left' : selection.x2
- });
+ $('#tidypics-tagging-select').show()
+ .css({
+ 'top' : selection.y2 + 10,
+ 'left' : selection.x2
+ })
+ .find('input[type=text]').focus();
+
};
/**