From e04a261992a975e5b449045088b12a473b1efb65 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 1 Oct 2009 23:59:17 -0400 Subject: [PATCH] another small fix --- classes/partials/meta-box.inc | 2 +- js/edit-transcripts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;