projects
/
MojoFacets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ignore double clicks on cells in edit mode
[MojoFacets.git]
/
public
/
edit_table.js
diff --git
a/public/edit_table.js
b/public/edit_table.js
index
5c8d00d
..
3fc390f
100644
(file)
--- a/
public/edit_table.js
+++ b/
public/edit_table.js
@@
-47,6
+47,9
@@
var cell_click = function(event) {
, event
, $(this).text()
);
+
+ if ( $(this).find('textarea').length ) return; // allready editing
+
var new_content = $(this).text() // we don't want para markup
.replace(/^[ \n\r]+/,'')
.replace(/[ \n\r]+$/,'')