diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-01 15:20:12 -0400 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-01 15:20:12 -0400 |
commit | a39fa0ce2bceadbfec8c1ddb8d1148edeb84634d (patch) | |
tree | d186f7550b1ab8bcaf060af3412efa6d0f3056b5 /js/util.js | |
parent | 95bcc5afa11ccbff82c2d0d16a286014ba96acb1 (diff) |
Unnecessary JavaScript for notice form attachment
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/js/util.js b/js/util.js index acf44a17c..20f17f6e7 100644 --- a/js/util.js +++ b/js/util.js @@ -17,17 +17,6 @@ */ $(document).ready(function(){ - $('input#notice_data-attach').toggle(); - $('label[for=notice_data-attach]').text('Upload a file as an attachment?'); - $('label[for=notice_data-attach]').click(function () { - if ('Upload a file as an attachment?' == $(this).text()) { - $(this).text('Upload: '); - $('input#notice_data-attach').slideDown('fast'); - } else { - $('input#notice_data-attach').slideUp('fast', function() {$('label[for=notice_data-attach]').text('Upload a file as an attachment?');}); - } - }); - $('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() { |