X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=plugins%2Fsmiley%2Fdialogs%2Fsmiley.js;h=b202d3ee64feee2e679142787cc11ddb32019b4b;hp=4f84a620821e7c10617fe36cde03e6db8e9ceb2a;hb=aedb6521c23a81ccb889827a7ccc7b42eb93d14f;hpb=d330efeb22fbe5f5883c29ff0149f7b5a0040bbc diff --git a/plugins/smiley/dialogs/smiley.js b/plugins/smiley/dialogs/smiley.js index 4f84a62..b202d3e 100644 --- a/plugins/smiley/dialogs/smiley.js +++ b/plugins/smiley/dialogs/smiley.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.dialog.add("smiley",function(f){for(var e=f.config,a=f.lang.smiley,h=e.smiley_images,g=e.smiley_columns||8,i,k=function(j){var c=j.data.getTarget(),b=c.getName();if("a"==b)c=c.getChild(0);else if("img"!=b)return;var b=c.getAttribute("cke_src"),a=c.getAttribute("title"),c=f.document.createElement("img",{attributes:{src:b,"data-cke-saved-src":b,title:a,alt:a,width:c.$.width,height:c.$.height}});f.insertElement(c);i.hide();j.data.preventDefault()},n=CKEDITOR.tools.addFunction(function(a,c){var a=