more js bugs
This commit is contained in:
parent
53ed1df9f8
commit
1f98d874c4
@ -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) ?>);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user