X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fconnexionswing-ckeditor-component.git;a=blobdiff_plain;f=release%2Fplugins%2Fcolordialog%2Fdialogs%2Fcolordialog.js;h=b0212b8b1047dc0481b52cc1e6e0b084ac7effad;hp=db467290dc1096c65915d814225d0bffc745c6b0;hb=HEAD;hpb=7adcb81e4f83f98c468889aaa5a85558ba88c770 diff --git a/release/plugins/colordialog/dialogs/colordialog.js b/release/plugins/colordialog/dialogs/colordialog.js index db467290..b0212b8b 100644 --- a/release/plugins/colordialog/dialogs/colordialog.js +++ b/release/plugins/colordialog/dialogs/colordialog.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.dialog.add("colordialog",function(x){function q(){d.getById(r).removeStyle("background-color");t.getContentElement("picker","selectedColor").setValue("");l&&l.removeAttribute("aria-selected");l=null}function y(a){a=a.data.getTarget();var c;"td"==a.getName()&&(c=a.getChild(0).getHtml())&&(l=a,l.setAttribute("aria-selected",!0),t.getContentElement("picker","selectedColor").setValue(c))}function C(a){a=a.replace(/^#/,"");for(var c=0,b=[];2>=c;c++)b[c]=parseInt(a.substr(2*c,2),16);return"#"+