little js bug
This commit is contained in:
parent
71f974d2cf
commit
09565a8f0a
@ -106,6 +106,7 @@
|
|||||||
$('wdts-sample-transcript-holder').insert(iframe);
|
$('wdts-sample-transcript-holder').insert(iframe);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if ($('wdts-filters-to-user')) {
|
||||||
$('wdts-filters-to-use').observe('change', load_sample_transcript);
|
$('wdts-filters-to-use').observe('change', load_sample_transcript);
|
||||||
$('refresh-filter-preview').observe('click', function(e) {
|
$('refresh-filter-preview').observe('click', function(e) {
|
||||||
Event.stop(e);
|
Event.stop(e);
|
||||||
@ -113,6 +114,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
Event.observe(window, 'load', load_sample_transcript);
|
Event.observe(window, 'load', load_sample_transcript);
|
||||||
|
}
|
||||||
|
|
||||||
<?php if (isset($_POST['wdts']['return_page'])) { ?>
|
<?php if (isset($_POST['wdts']['return_page'])) { ?>
|
||||||
make_active($('<?php echo str_replace('-page-', '-tab-', $_POST['wdts']['return_page']) ?>'));
|
make_active($('<?php echo str_replace('-page-', '-tab-', $_POST['wdts']['return_page']) ?>'));
|
||||||
|
Loading…
Reference in New Issue
Block a user