little js bug

This commit is contained in:
John Bintz 2009-10-14 21:08:34 -04:00
parent 71f974d2cf
commit 09565a8f0a
1 changed files with 8 additions and 6 deletions

View File

@ -106,6 +106,7 @@
$('wdts-sample-transcript-holder').insert(iframe);
};
if ($('wdts-filters-to-user')) {
$('wdts-filters-to-use').observe('change', load_sample_transcript);
$('refresh-filter-preview').observe('click', function(e) {
Event.stop(e);
@ -113,6 +114,7 @@
});
Event.observe(window, 'load', load_sample_transcript);
}
<?php if (isset($_POST['wdts']['return_page'])) { ?>
make_active($('<?php echo str_replace('-page-', '-tab-', $_POST['wdts']['return_page']) ?>'));