more js bugs

This commit is contained in:
John Bintz 2009-10-14 08:15:41 -04:00
parent 53ed1df9f8
commit 1f98d874c4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
queued_editors_to_attach.each(function(q) {
<?php
$params = array('q');
if (current_user_can('approve_transcriptions')) { $params[] = 'wdts-' . $approved_editor_id; }
if (current_user_can('approve_transcriptions')) { $params[] = '"wdts-' . $approved_editor_id . '"'; }
?>
WhatDidTheySay.setup_transcript_action_buttons(<?php echo implode(',', $params) ?>);
});