summaryrefslogtreecommitdiff
path: root/public/javascripts/tiny_mce/plugins/autosave
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-09 12:07:57 +0200
committerhukl <contact@smyck.org>2009-09-09 12:07:57 +0200
commita6292dd0fecd4482fe863ed849d126b5281b1a8a (patch)
tree7c4c32e1a3448c5d1995a236ed01c731018da13d /public/javascripts/tiny_mce/plugins/autosave
parent83fe1b1abd7d7bb85679be3f1341e5c88db0ae83 (diff)
huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great!
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/autosave')
-rw-r--r--[-rwxr-xr-x]public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js2
-rw-r--r--[-rwxr-xr-x]public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js0
2 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js b/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js
index 01a994e..091a063 100755..100644
--- a/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js
+++ b/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js
@@ -1 +1 @@
(function(){tinymce.create('tinymce.plugins.AutoSavePlugin',{init:function(ed,url){var t=this;t.editor=ed;window.onbeforeunload=tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;},getInfo:function(){return{longname:'Auto save',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',version:tinymce.majorVersion+"."+tinymce.minorVersion};},'static':{_beforeUnloadHandler:function(){var msg;tinymce.each(tinyMCE.editors,function(ed){if(ed.getParam("fullscreen_is_enabled"))return;if(ed.isDirty()){msg=ed.getLang("autosave.unload_msg");return false;}});return msg;}}});tinymce.PluginManager.add('autosave',tinymce.plugins.AutoSavePlugin);})(); \ No newline at end of file (function(){tinymce.create("tinymce.plugins.AutoSavePlugin",{init:function(a,b){var c=this;c.editor=a;window.onbeforeunload=tinymce.plugins.AutoSavePlugin._beforeUnloadHandler},getInfo:function(){return{longname:"Auto save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave",version:tinymce.majorVersion+"."+tinymce.minorVersion}},"static":{_beforeUnloadHandler:function(){var a;tinymce.each(tinyMCE.editors,function(b){if(b.getParam("fullscreen_is_enabled")){return}if(b.isDirty()){a=b.getLang("autosave.unload_msg");return false}});return a}}});tinymce.PluginManager.add("autosave",tinymce.plugins.AutoSavePlugin)})(); \ No newline at end of file
diff --git a/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js b/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js
index 3c4325a..3c4325a 100755..100644
--- a/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js
+++ b/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js