summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-05 00:00:04 -0400
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-05 00:00:04 -0400
commitb708b81065b4adc46026e570d8e2cb9d37bc24af (patch)
treef3ec96c3552cb67b131ebda089d40f27cf12024c /js/util.js
parent4f5630099fd0042170350f18512dc2cbe3b896b2 (diff)
Init notice_data-attach UI for form_notice
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/util.js b/js/util.js
index bffbf916f..b712ba8e2 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?');});
- }
- });
-
// count character on keyup
function counter(event){
var maxLength = 140;