diff --git a/serendipity_event_ckeditor/ChangeLog b/serendipity_event_ckeditor/ChangeLog
index 80e61038..6c20a328 100644
--- a/serendipity_event_ckeditor/ChangeLog
+++ b/serendipity_event_ckeditor/ChangeLog
@@ -1,3 +1,8 @@
+2.3.1:
+-----
+ * Fixed Chrome Browser Exception
+ * Fixed installer fallback on upgrades
+
2.3.0:
-----
* Check if zip extension loaded
diff --git a/serendipity_event_ckeditor/cke_plugin.js b/serendipity_event_ckeditor/cke_plugin.js
index 3472b174..d6fce4b3 100644
--- a/serendipity_event_ckeditor/cke_plugin.js
+++ b/serendipity_event_ckeditor/cke_plugin.js
@@ -47,7 +47,11 @@ function ecfit(str) {
* @param string $eventData['jsname']
* @param array/object jsEventData/json_encode($eventData['buttons'])
**/
-function Spawnnuggets(item = null, addEP = null, jsED = null) {
+function Spawnnuggets(item, addEP, jsED) {
+
+ if (!item) var item = null;
+ if (!addEP) var addEP = null;
+ if (!jsED) var jsED = null;
var textarea_instance = !isNaN(item) ? 'nuggets' + item : item;
var name_extraPlugins = (addEP !== null) ? addEP : textarea_instance;
diff --git a/serendipity_event_ckeditor/ckeditor_4.2.3_standard-plus.zip b/serendipity_event_ckeditor/ckeditor_4.2.3.1_standard-plus.zip
similarity index 98%
rename from serendipity_event_ckeditor/ckeditor_4.2.3_standard-plus.zip
rename to serendipity_event_ckeditor/ckeditor_4.2.3.1_standard-plus.zip
index f80edc89..6b6c1df0 100644
Binary files a/serendipity_event_ckeditor/ckeditor_4.2.3_standard-plus.zip and b/serendipity_event_ckeditor/ckeditor_4.2.3.1_standard-plus.zip differ
diff --git a/serendipity_event_ckeditor/serendipity_event_ckeditor.php b/serendipity_event_ckeditor/serendipity_event_ckeditor.php
index 43093e4e..e39c066c 100644
--- a/serendipity_event_ckeditor/serendipity_event_ckeditor.php
+++ b/serendipity_event_ckeditor/serendipity_event_ckeditor.php
@@ -48,14 +48,14 @@ class serendipity_event_ckeditor extends serendipity_event
* @access protected
* @var string
*/
- protected $cke_zipfile = 'ckeditor_4.2.3_standard-plus.zip';
+ protected $cke_zipfile = 'ckeditor_4.2.3.1_standard-plus.zip';
/**
* Access property checkUpdateVersion
* Verify release package versions - do update on upgrades!
* @var array
*/
- protected $checkUpdateVersion = array('ckeditor:4.2.3', 'kcfinder:2.52-2');
+ protected $checkUpdateVersion = array('ckeditor:4.2.3.1', 'kcfinder:2.52-2');
/**
* Access property revisionPackage
@@ -66,7 +66,7 @@ class serendipity_event_ckeditor extends serendipity_event
'KCFinder 2.52-dev (http://kcfinder.sunhater.com/ git package, 2013-05-04)',
'CKEditor-Plugin: mediaembed, v. 0.5+ (https://github.com/frozeman/MediaEmbed, 2013-09-12)',
'CKEditor-Plugin: pbckcode, v. 1.1.0 (https://github.com/prbaron/PBCKCode, 2013-09-06)',
- 'CKEditor-Plugin: procurator, v. 1.0 (Serendipity placeholder Plugin, 2013-09-26)');
+ 'CKEditor-Plugin: procurator, v. 1.1 (Serendipity placeholder Plugin, 2013-12-04)');
function install() {
@@ -128,7 +128,7 @@ class serendipity_event_ckeditor extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_CKEDITOR_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Rustam Abdullaev, Ian');
- $propbag->add('version', '2.3.0'); // is CKEDITOR Series 4 (hidden) - revision .2.3 - and appended serendipity_event_ckeditor revision .0
+ $propbag->add('version', '2.3.1'); // is CKEDITOR Series 4 (hidden) - revision .2.3 - and appended serendipity_event_ckeditor revision .1
$propbag->add('copyright', 'GPL or LGPL License');
$propbag->add('requirements', array(
'serendipity' => '1.7',
@@ -207,6 +207,11 @@ class serendipity_event_ckeditor extends serendipity_event
}
function example() {
+ global $serendipity;
+
+ if ($serendipity['GET']['adminModule'] == 'plugins' && $serendipity['GET']['plugin_to_conf'] == 'serendipity_event_ckeditor' && $_GET['install'] == 1) {
+ $this->install();
+ }
$installer = $this->get_config('installer'); // Can't use method return value in write context in '' with substr(), get_config() and isset()
$parts = explode(':', $this->checkUpdateVersion[0]); // this is ckeditor only
@@ -397,12 +402,10 @@ class serendipity_event_ckeditor extends serendipity_event
case 'backend_plugins_update':
- if ($this->install() === true) {
- // make sure a spartacus update really falls down to plugins config, when an update deflating zip has returned true
- echo '';
- die();
- }
- break;
+ // make sure a spartacus update really falls down to plugins config, when an update deflating zip has returned true
+ echo '';
+ die();
+ break; //?
case 'backend_media_path_exclude_directories':