mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Selectable lines in tables : add an exclusion rule for click on padding/margin/border
SVN:trunk[5999]
This commit is contained in:
@@ -82,6 +82,9 @@ $(document).ready(function () {
|
||||
* @returns {boolean} true if our custom handler shouldn't be run
|
||||
*/
|
||||
function shouldExitHandler($eventTarget) {
|
||||
if ($eventTarget.is("table")) { // might happen on cell padding/margin/border
|
||||
return true;
|
||||
}
|
||||
if ($eventTarget.is("a, button")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user