diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-02-17 17:26:45 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-02-17 17:26:45 -0800 |
commit | ee6da62511660cf5849fea1a39a3e94c1f2867c7 (patch) | |
tree | 95f9803c1ae0888f0633b1a9dae7d94aa8cb695c /views/default/js | |
parent | b09db0ec2a35590cb13cda6ed053edc10e671035 (diff) | |
download | elgg-ee6da62511660cf5849fea1a39a3e94c1f2867c7.tar.gz elgg-ee6da62511660cf5849fea1a39a3e94c1f2867c7.tar.bz2 |
Fixes #15. Added untagging.
Diffstat (limited to 'views/default/js')
-rw-r--r-- | views/default/js/photos/tagging.php | 13 |
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(); + }; /** |