Skip to content

Commit

Permalink
Item11146: Disable an IE localstorage fixup
Browse files Browse the repository at this point in the history
Seems fixed properly in TinyMCE 3.4.4, so our hack is no longer necessary,
and actually breaks things worse (TinyMCE errors on init in IE8)

git-svn-id: http://svn.foswiki.org/trunk@12621 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Sep 24, 2011
1 parent 220d57f commit beeb78f
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
tinymce.create('tinymce.plugins.Foswiki', {

init: function (ed, url) {
ed.plugins.foswiki._disableAutoSaveOnBadIEs(ed);
/* In TinyMCE 3.3.x we used this hack to better support IEs with no
native localStorage support. In TinyMCE 3.4.x this seems fixed,
and our hack now causes a really obscure error in an apparently
difficult-to-relate part of TinyMCE. We can delete this code. */
// ed.plugins.foswiki._disableAutoSaveOnBadIEs(ed);
ed.onInit.add(function (ed) {
ed.plugins.foswiki._fixAdvancedTheme(ed);
if (ed.plugins.autosave &&
Expand Down Expand Up @@ -100,8 +104,8 @@
getInfo: function () {
return {
longname: 'Foswiki plugin',
author: 'Paul.W.Harvey@csiro.au',
authorurl: 'http://trin.org.au',
author: 'Foswiki Contributor',
authorurl: 'http://foswiki.org/System/ProjectContributor',
infourl: 'http://foswiki.org/Extensions/TinyMCEPlugin',
version: '1.0'
};
Expand Down

0 comments on commit beeb78f

Please sign in to comment.