emoticonchooser 2.9 - fix chrome exception

This commit is contained in:
Ian 2013-12-04 12:32:28 +01:00
parent 1461c8c673
commit c0ddcc0f6b
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2.9:
----
fixed Chrome Browser Exception
2.8:
----
fixed 2.7, since staticpages and entryforms set the [id] different

View file

@ -1,4 +1,7 @@
function emoticonchooser(instance_name = '', this_instance = '', cke_txtarea = '') {
function emoticonchooser(instance_name, this_instance, cke_txtarea) {
if (!instance_name) var instance_name = '';
if (!this_instance) var this_instance = '';
if (!cke_txtarea) var cke_txtarea = '';
var editor_instance = 'editor'+instance_name;
var use_emoticon = 'use_emoticon_'+instance_name;

View file

@ -30,7 +30,7 @@ class serendipity_event_emoticonchooser extends serendipity_event
'smarty' => '2.6.7',
'php' => '4.1.0'
));
$propbag->add('version', '2.8');
$propbag->add('version', '2.9');
$propbag->add('event_hooks', array(
'backend_entry_toolbar_extended' => true,
'backend_entry_toolbar_body' => true,