more js bugs

This commit is contained in:
John Bintz 2009-10-14 08:15:41 -04:00
parent 53ed1df9f8
commit 1f98d874c4

View File

@ -63,7 +63,7 @@
queued_editors_to_attach.each(function(q) { queued_editors_to_attach.each(function(q) {
<?php <?php
$params = array('q'); $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) ?>); WhatDidTheySay.setup_transcript_action_buttons(<?php echo implode(',', $params) ?>);
}); });