Code:
holder.ondragstart =function(e)
{
Img_Src_Drop =e.target.getAttribute('src');
dragID =e.srcElement.id;
dregCl =e.srcElement.getAttribute('class');
if(dragID ==='cms_tools'){ cmsPanel =document.getElementById('cms_tools'); }}
holder.ondragover = function(e)
{
if(dragID ==='cms_tools')
{
cmsPanel.style.top = (e.clientY-7) +'px';
cmsPanel.style.left = (e.clientX-250) +'px'; }}
holder.ondragend = function(e)
{
delete window.dragID;
if(dregCl ==='imglib'){
e.preventDefault;
document.execCommand('InsertImage',null,Img_Src_Drop); }}
holder.ondrop = function (e)
{ e.preventDefault; }
It was little more than one word but the fix was to simply preventDefault and insert a new image. Not what I was looking for but it works as desired. Hope this post helps anyone else in a similar bind.
Bookmarks