Fix serendipity_event_linklist serialisation (#129)
* Fix serendipity_event_linklist serialisation Instead of the link list the output was [object Object] because 'd' is an object in document.write(d). Use dTree.toString() for serialisation. * Bump version and ChangeLog
This commit is contained in:
parent
8e5f5380bc
commit
332cf0e16d
|
@ -1,3 +1,8 @@
|
|||
2.06 && 1.26:
|
||||
-------------
|
||||
|
||||
* Fix link list serialisation
|
||||
|
||||
2.05 && 1.25:
|
||||
-------------
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class serendipity_event_linklist extends serendipity_event
|
|||
'external_plugin' => true
|
||||
));
|
||||
$propbag->add('author', 'Matthew Groeninger, Omid Mottaghi Rad');
|
||||
$propbag->add('version', '2.05');
|
||||
$propbag->add('version', '2.06');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '1.6',
|
||||
'smarty' => '2.6.7',
|
||||
|
@ -854,4 +854,4 @@ class serendipity_event_linklist extends serendipity_event
|
|||
}
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -18,7 +18,7 @@ class serendipity_plugin_linklist extends serendipity_plugin
|
|||
$propbag->add('description', PLUGIN_LINKS_BLAHBLAH);
|
||||
$propbag->add('stackable', true);
|
||||
$propbag->add('author', 'Matthew Groeninger, Omid Mottaghi Rad');
|
||||
$propbag->add('version', '1.25');
|
||||
$propbag->add('version', '1.26');
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('configuration', array(
|
||||
'title',
|
||||
|
@ -431,7 +431,7 @@ class serendipity_plugin_linklist extends serendipity_plugin
|
|||
}
|
||||
}
|
||||
|
||||
$str .= 'document.write(d);
|
||||
$str .= 'document.write(d.toString());
|
||||
//-->
|
||||
</script>';
|
||||
|
||||
|
|
Loading…
Reference in a new issue