Index: mod1/class.tx_templavoila_mod1_clipboard.php
===================================================================
--- mod1/class.tx_templavoila_mod1_clipboard.php (revision 28151)
+++ mod1/class.tx_templavoila_mod1_clipboard.php (working copy)
@@ -156,7 +156,7 @@
$refIcon = 'pObj->doc->backPath,t3lib_extMgm::extRelPath('templavoila').'mod1/clip_ref'.($clipActive_ref ? '_h':'').'.gif','').' title="'.$LANG->getLL ('createreference').'" vspace="2" hspace="2" alt="" />';
$removeElement = '&CB[removeAll]=normal';
- $setElement = '&CB[el]['.rawurlencode('tt_content|'.$elementRecord['uid']).']=1';
+ $setElement = '&CB[el]['.rawurlencode('tt_content|'.$elementRecord['uid']).']='.rawurlencode($this->pObj->apiObj->flexform_getStringFromPointer($elementPointer));
$setElementRef = '&CB[el]['.rawurlencode('tt_content|'.$elementRecord['uid']).']=1';
$linkCopy = ''.$copyIcon.'';
Index: mod1/dragdrop-min.js
===================================================================
--- mod1/dragdrop-min.js (revision 28151)
+++ mod1/dragdrop-min.js (working copy)
@@ -1 +1 @@
-var sortable_currentItem;function sortable_unhideRecord(it,command){jumpToUrl(command);}function sortable_hideRecord(it,command){if(!sortable_removeHidden)return jumpToUrl(command);while(it.className!='sortableItem')it=it.parentNode;new Ajax.Request(command);new Effect.Fade(it,{duration:0.5,afterFinish:sortable_hideRecordCallBack});}function sortable_hideRecordCallBack(obj){var el=obj.element;while(el.lastChild)el.removeChild(el.lastChild);}function sortable_unlinkRecordCallBack(obj){var el=obj.element;var pn=el.parentNode;pn.removeChild(el);sortable_update(pn);}function sortable_unlinkRecord(pointer,id,elementPointer){new Ajax.Request("index.php?"+sortable_linkParameters+"&ajaxUnlinkRecord="+escape(pointer),{onSuccess:function(response){var node=Builder.build(response.responseText);$('tx_templavoila_mod1_sidebar-bar').setStyle({height:$('tx_templavoila_mod1_sidebar-bar').getHeight()+'px'});$('tx_templavoila_mod1_sidebar-bar').innerHTML=node.innerHTML;setTimeout(function(){sortable_unlinkRecordSidebarCallBack(elementPointer);},100);}});new Effect.Fade(id,{duration:0.5,afterFinish:sortable_unlinkRecordCallBack});}function sortable_unlinkRecordSidebarCallBack(pointer){var childNodes=$('tx_templavoila_mod1_sidebar-bar').childElements();var innerHeight=0;for(var i=0;i