mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 18:12:22 +02:00
* Etemplate/Nextmatch: Do not trigger resize event on nextmatch header columns if the clicked element is select-tag, as it may cause conflict between two click and resize handlers in some browsers.
- Fix clicking on selectboxes located at nm header causes to resize the column, in FireFox.
This commit is contained in:
parent
427956518e
commit
fe02eda1a7
@ -112,7 +112,8 @@
|
|||||||
|
|
||||||
// Bind the "mousedown" event in the "resize" namespace
|
// Bind the "mousedown" event in the "resize" namespace
|
||||||
_elem.bind("mousedown.resize", function(e) {
|
_elem.bind("mousedown.resize", function(e) {
|
||||||
if (inResizeRegion(e.pageX, _elem))
|
// Do not triger startResize if clicked element is select-tag, as it may causes conflict in some browsers
|
||||||
|
if (inResizeRegion(e.pageX, _elem) && e.target.tagName != 'SELECT')
|
||||||
{
|
{
|
||||||
// Start the resizing
|
// Start the resizing
|
||||||
startResize(outerTable, _elem, function(_w) {
|
startResize(outerTable, _elem, function(_w) {
|
||||||
|
Loading…
Reference in New Issue
Block a user