summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/ckeditor/plugins/link/dialogs
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-01-28 15:13:36 +0100
committerXavier Morel <xmo@openerp.com>2014-01-28 15:13:36 +0100
commit1f4bb2d28975ef11aaf3de15d6c982529f76ecd8 (patch)
tree781f67f566c5a4b965747f0f24908e5063c318c2 /addons/web/static/lib/ckeditor/plugins/link/dialogs
parenta4e801aa5f71c0540b2af92c4bb4a4b13f7fdab2 (diff)
[FIX] update CKEditor to 4.3.2, fixes problem of double-escaping of non-ascii characters in widgets
bzr revid: xmo@openerp.com-20140128141336-boloxf0cfcrzej03
Diffstat (limited to 'addons/web/static/lib/ckeditor/plugins/link/dialogs')
-rw-r--r--addons/web/static/lib/ckeditor/plugins/link/dialogs/anchor.js2
-rw-r--r--addons/web/static/lib/ckeditor/plugins/link/dialogs/link.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/lib/ckeditor/plugins/link/dialogs/anchor.js b/addons/web/static/lib/ckeditor/plugins/link/dialogs/anchor.js
index 562417a6901..b1c0f3ab934 100644
--- a/addons/web/static/lib/ckeditor/plugins/link/dialogs/anchor.js
+++ b/addons/web/static/lib/ckeditor/plugins/link/dialogs/anchor.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("anchor",function(c){var d=function(a){this._.selectedElement=a;this.setValueOf("info","txtName",a.data("cke-saved-name")||"")};return{title:c.lang.link.anchor.title,minWidth:300,minHeight:60,onOk:function(){var a=CKEDITOR.tools.trim(this.getValueOf("info","txtName")),a={id:a,name:a,"data-cke-saved-name":a};if(this._.selectedElement)this._.selectedElement.data("cke-realelement")?(a=c.document.createElement("a",{attributes:a}),c.createFakeElement(a,"cke_anchor","anchor").replace(this._.selectedElement)):
diff --git a/addons/web/static/lib/ckeditor/plugins/link/dialogs/link.js b/addons/web/static/lib/ckeditor/plugins/link/dialogs/link.js
index 37085d3aaf9..84a5c8b5c28 100644
--- a/addons/web/static/lib/ckeditor/plugins/link/dialogs/link.js
+++ b/addons/web/static/lib/ckeditor/plugins/link/dialogs/link.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("link",function(n){var p,q;function r(a){return a.replace(/'/g,"\\$&")}function t(a){var g,c=p,d,e;g=[q,"("];for(var b=0;b<c.length;b++)d=c[b].toLowerCase(),e=a[d],0<b&&g.push(","),g.push("'",e?r(encodeURIComponent(a[d])):"","'");g.push(")");return g.join("")}function u(a){for(var g,c=a.length,d=[],e=0;e<c;e++)g=a.charCodeAt(e),d.push(g);return"String.fromCharCode("+d.join(",")+")"}function v(a){return(a=a.getAttribute("class"))?a.replace(/\s*(?:cke_anchor_empty|cke_anchor)(?:\s*$)?/g,