Skip to content

Commit

Permalink
Stop propagation only for relational links
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuracj committed Jan 17, 2013
1 parent f0e1f12 commit 6a05965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/makegrid.js
Expand Up @@ -1655,11 +1655,11 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
$(t).find('td.data.click2')
.click(function(e) {
$cell = $(this);
e.preventDefault();
// In the case of relational link, We want single click on the link
// to goto the link and double click to start grid-editing.
var $link = $(e.target);
if ($link.is('.grid_edit.relation a')) {
e.preventDefault();
// get the click count and increase
var clicks = $cell.data('clicks');
clicks = (clicks == null) ? 1 : clicks + 1;
Expand Down

0 comments on commit 6a05965

Please sign in to comment.