diff options
| author | astaf <astaf@proxy.ccwn.org.ccwn.org> | 2012-06-26 17:11:26 +0200 |
|---|---|---|
| committer | astaf <astaf@proxy.ccwn.org.ccwn.org> | 2012-06-26 17:11:26 +0200 |
| commit | f0e90d88a5766e67ff69339b27711ffb5f41e1ca (patch) | |
| tree | 387f30bc7cd39114f6db71a7deb7d5f16442c03c /protected/extensions/extckeditor/assets/plugins/ajax | |
| parent | 1a52e642b8bb388fd4c4b29798fa3809a2114c9f (diff) | |
| parent | d58f7cf02dc0c5ce2df2f0db00361fe673074be8 (diff) | |
Merge branch 'master' of ssh://proxy:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/extensions/extckeditor/assets/plugins/ajax')
| -rw-r--r-- | protected/extensions/extckeditor/assets/plugins/ajax/plugin.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protected/extensions/extckeditor/assets/plugins/ajax/plugin.js b/protected/extensions/extckeditor/assets/plugins/ajax/plugin.js new file mode 100644 index 0000000..1c205f0 --- /dev/null +++ b/protected/extensions/extckeditor/assets/plugins/ajax/plugin.js @@ -0,0 +1,6 @@ +/*
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function(){CKEDITOR.plugins.add('ajax',{requires:['xml']});CKEDITOR.ajax=(function(){var a=function(){if(!CKEDITOR.env.ie||location.protocol!='file:')try{return new XMLHttpRequest();}catch(f){}try{return new ActiveXObject('Msxml2.XMLHTTP');}catch(g){}try{return new ActiveXObject('Microsoft.XMLHTTP');}catch(h){}return null;},b=function(f){return f.readyState==4&&(f.status>=200&&f.status<300||f.status==304||f.status===0||f.status==1223);},c=function(f){if(b(f))return f.responseText;return null;},d=function(f){if(b(f)){var g=f.responseXML;return new CKEDITOR.xml(g&&g.firstChild?g:f.responseText);}return null;},e=function(f,g,h){var i=!!g,j=a();if(!j)return null;j.open('GET',f,i);if(i)j.onreadystatechange=function(){if(j.readyState==4){g(h(j));j=null;}};j.send(null);return i?'':h(j);};return{load:function(f,g){return e(f,g,c);},loadXml:function(f,g){return e(f,g,d);}};})();})();
|
