diff --git a/classes/partials/meta-box.inc b/classes/partials/meta-box.inc index eaf2242..3bd6f43 100644 --- a/classes/partials/meta-box.inc +++ b/classes/partials/meta-box.inc @@ -48,7 +48,7 @@ - + diff --git a/js/edit-transcripts.js b/js/edit-transcripts.js index 63a2b4e..09339e8 100644 --- a/js/edit-transcripts.js +++ b/js/edit-transcripts.js @@ -108,7 +108,7 @@ WhatDidTheySay.setup_transcript_editor = function(container) { // submit button handling var submit_button = container.select('.wdts-modify-transcript').pop(); var update_message = container.select('.wdts-update-message').pop(); - var post_id = $(container.parentNode).select("input[name*=[post_id]]").shift(); + var post_id = $(container.parentNode.parentNode).select("input[name*=[post_id]]").shift(); if (submit_button && update_message && post_id) { post_id = post_id.value;