Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js (révision 9298)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js (copie de travail)
@@ -121,7 +121,7 @@
xtype: 'box',
cls: 'emoticon-array',
tpl: new Ext.XTemplate(
- ''
+ ''
),
listeners: {
render: {
@@ -160,8 +160,8 @@
var icon = Ext.get(target).first();
var imgTag = this.editor.document.createElement('img');
imgTag.setAttribute('src', icon.getAttribute('src'));
- imgTag.setAttribute('alt', icon.getAttribute('alt'));
- imgTag.setAttribute('title', icon.getAttribute('title'));
+ imgTag.setAttribute('alt', target.getAttribute('ext:qtitle'));
+ imgTag.setAttribute('title', target.getAttribute('ext:qtip'));
this.editor.insertNodeAtSelection(imgTag);
if (!Ext.isIE) {
this.editor.selectNode(imgTag, false);