diff options
author | Sarven Capadisli <csarven@csarven-laptop.(none)> | 2009-05-25 15:53:19 -0400 |
---|---|---|
committer | Sarven Capadisli <csarven@csarven-laptop.(none)> | 2009-05-25 15:53:19 -0400 |
commit | 01dad5729827870d87f87118c336dcf2acc4af32 (patch) | |
tree | f43fc293e7c668343873282026bab690d415a046 /js | |
parent | a11d6260cc8dd5bd8a060f716461803f4c837387 (diff) |
Markup cleanup for attachments
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/util.js b/js/util.js index ffaedc690..cba6f822e 100644 --- a/js/util.js +++ b/js/util.js @@ -17,12 +17,6 @@ */ $(document).ready(function(){ -// attachments and attachment pages not used at the moment except for attachment_ajax version -// $('.attachments').click(function() {$().jOverlay({zIndex:999, success:function(html) {$('.attachment').click(function() {$().jOverlay({url:$(this).attr('href') + '/ajax'}); return false; }); -// }, url:$(this).attr('href') + '/ajax'}); return false; }); - - //FIXME - //need to link to proper url depending on site config (path name and theme, for instance) $('a.attachment').click(function() {$().jOverlay({url: $('address .url')[0].href+'/attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'}); return false; }); $('a.thumbnail').hover( function() { |