Ignore:
Timestamp:
May 18, 2010, 7:06:41 PM (14 years ago)
Author:
patdenice
Message:

Piwigo 2.1 compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FCKEditor/ckeditor/skins/v2/skin.js

    r4629 r6226  
    11/*
    2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
     2Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
    55
    6 CKEDITOR.skins.add('v2',(function(){var a=[];if(CKEDITOR.env.ie&&CKEDITOR.env.version<7)a.push('icons.png','images/sprites_ie6.png','images/dialog_sides.gif');return{preload:a,editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,14,18,14]};})());if(CKEDITOR.dialog)CKEDITOR.dialog.on('resize',function(a){var b=a.data,c=b.width,d=b.height,e=b.dialog,f=e.parts.contents;if(b.skin!='v2')return;f.setStyles({width:c+'px',height:d+'px'});if(!CKEDITOR.env.ie)return;setTimeout(function(){var g=e.parts.dialog.getChild([0,0,0]),h=g.getChild(0),i=g.getChild(2);i.setStyle('width',h.$.offsetWidth+'px');i=g.getChild(7);i.setStyle('width',h.$.offsetWidth-28+'px');i=g.getChild(4);i.setStyle('height',h.$.offsetHeight-31-14+'px');i=g.getChild(5);i.setStyle('height',h.$.offsetHeight-31-14+'px');},100);});
     6CKEDITOR.skins.add('v2',(function(){var a=[];if(CKEDITOR.env.ie&&CKEDITOR.env.version<7)a.push('icons.png','images/sprites_ie6.png','images/dialog_sides.gif');return{preload:a,editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,14,18,14]};})());(function(){CKEDITOR.dialog?a():CKEDITOR.on('dialogPluginReady',a);function a(){CKEDITOR.dialog.on('resize',function(b){var c=b.data,d=c.width,e=c.height,f=c.dialog,g=f.parts.contents;if(c.skin!='v2')return;g.setStyles({width:d+'px',height:e+'px'});if(!CKEDITOR.env.ie)return;setTimeout(function(){var h=f.parts.dialog.getChild([0,0,0]),i=h.getChild(0),j=h.getChild(2);j.setStyle('width',i.$.offsetWidth+'px');j=h.getChild(7);j.setStyle('width',i.$.offsetWidth-28+'px');j=h.getChild(4);j.setStyle('height',i.$.offsetHeight-31-14+'px');j=h.getChild(5);j.setStyle('height',i.$.offsetHeight-31-14+'px');},100);});};})();
Note: See TracChangeset for help on using the changeset viewer.