|
|
@ -747,9 +747,12 @@ drag_mouse_move: function(e)
|
|
|
|
if (((node = obj.childNodes[i].firstChild) && (node.nodeType==3 || node.nodeName=='A')) &&
|
|
|
|
if (((node = obj.childNodes[i].firstChild) && (node.nodeType==3 || node.nodeName=='A')) &&
|
|
|
|
(this.subject_col < 0 || (this.subject_col >= 0 && this.subject_col == c)))
|
|
|
|
(this.subject_col < 0 || (this.subject_col >= 0 && this.subject_col == c)))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (n == 0)
|
|
|
|
if (n == 0) {
|
|
|
|
|
|
|
|
if (node.nodeType == 3)
|
|
|
|
|
|
|
|
this.drag_start_pos = $(obj.childNodes[i]).offset();
|
|
|
|
|
|
|
|
else
|
|
|
|
this.drag_start_pos = $(node).offset();
|
|
|
|
this.drag_start_pos = $(node).offset();
|
|
|
|
|
|
|
|
}
|
|
|
|
subject = node.nodeType==3 ? node.data : node.innerHTML;
|
|
|
|
subject = node.nodeType==3 ? node.data : node.innerHTML;
|
|
|
|
// remove leading spaces
|
|
|
|
// remove leading spaces
|
|
|
|
subject = subject.replace(/^\s+/i, '');
|
|
|
|
subject = subject.replace(/^\s+/i, '');
|
|
|
|