Don't check row while selecting text

This commit is contained in:
Jakub Vrana 2012-03-05 22:12:47 -08:00
parent 4cc29e0137
commit 2ca26386c2
2 changed files with 2 additions and 1 deletions

View file

@ -103,7 +103,7 @@ function formChecked(el, name) {
* @param MouseEvent * @param MouseEvent
*/ */
function tableClick(event) { function tableClick(event) {
var click = true; var click = (!window.getSelection || getSelection().isCollapsed);
var el = event.target || event.srcElement; var el = event.target || event.srcElement;
while (!/^tr$/i.test(el.tagName)) { while (!/^tr$/i.test(el.tagName)) {
if (/^table$/i.test(el.tagName)) { if (/^table$/i.test(el.tagName)) {

View file

@ -8,6 +8,7 @@ Error message with no response from server in AJAX
Esc to cancel AJAX request Esc to cancel AJAX request
Move AJAX loading indicator to the right Move AJAX loading indicator to the right
Don't quote bit type in export Don't quote bit type in export
Don't check row while selecting text
Ability to disable export (customization) Ability to disable export (customization)
Extensible list of databases (customization) Extensible list of databases (customization)
MySQL: set autocommit after connect MySQL: set autocommit after connect