purge note, since not a tpl (2)

This commit is contained in:
Ian
2014-03-15 19:46:00 +01:00
parent 15977512dd
commit f509d042ab
+2 -1
View File
@@ -175,12 +175,13 @@ jQuery(function() {
if ($serendipity['wysiwyg']) {
if (isset($eventData['item']) && !empty($eventData['item'])) {
if (isset($eventData['buttons']) && (is_array($eventData['buttons']) && !empty($eventData['buttons']))) {
// case staticpage nuggets
?>
<script type="text/javascript">
$( document ).ready(function() {
// send eventData as json encoded array into the javascript stream, which can be pulled by 'backend_header' hooks global Spawnnuggets() nugget function
jsEventData = <?php echo json_encode($eventData['buttons']); ?>;//case2;{* staticpage nuggets *}
jsEventData = <?php echo json_encode($eventData['buttons']); ?>;//case2
});
</script>