Author: konstantin.mishin
Date: 2010-11-05 13:33:40 -0400 (Fri, 05 Nov 2010)
New Revision: 19970
Modified:
trunk/ui/iteration/ui/src/main/resources/META-INF/resources/org.richfaces/extendedDataTable.js
Log:
RF-9548
Modified:
trunk/ui/iteration/ui/src/main/resources/META-INF/resources/org.richfaces/extendedDataTable.js
===================================================================
---
trunk/ui/iteration/ui/src/main/resources/META-INF/resources/org.richfaces/extendedDataTable.js 2010-11-05
16:48:06 UTC (rev 19969)
+++
trunk/ui/iteration/ui/src/main/resources/META-INF/resources/org.richfaces/extendedDataTable.js 2010-11-05
17:33:40 UTC (rev 19970)
@@ -326,11 +326,13 @@
};
var beginReorder = function(event) {
- idOfReorderingColumn = this.className.match(new RegExp(WIDTH_CLASS_NAME_BASE +
"([^\\W]*)"))[1];
- jQuery(document).bind("mousemove", reorder);
- header.find(".rf-edt-hdr-c").bind("mouseover", overReorder);
- jQuery(document).one("mouseup", cancelReorder);
- return false;
+ if (!jQuery(event.target).is("a, img, :input")) {
+ idOfReorderingColumn = this.className.match(new RegExp(WIDTH_CLASS_NAME_BASE +
"([^\\W]*)"))[1];
+ jQuery(document).bind("mousemove", reorder);
+ header.find(".rf-edt-hdr-c").bind("mouseover", overReorder);
+ jQuery(document).one("mouseup", cancelReorder);
+ return false;
+ }
};
var overReorder = function(event) {