Make the default prize template editor work when accessed directly from the awards.php page

This commit is contained in:
james 2009-09-17 19:30:32 +00:00
parent cb5bb16953
commit 99f1d4726c

View File

@ -919,7 +919,9 @@ if(mysql_num_rows($q))
if($_GET['action'] == 'edit_prize_template') { if($_GET['action'] == 'edit_prize_template') {
?><script type="text/javascript"> ?><script type="text/javascript">
popup_editor(-1); $(document).ready(function() {
popup_editor(-1);
});
</script> </script>
<? <?
} }