projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00401a1
)
Don't work with non-existing IDs
author
Joey Schulze
<joey@infodrom.org>
Wed, 24 Mar 2010 19:26:18 +0000
(20:26 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 24 Mar 2010 19:26:18 +0000
(20:26 +0100)
lib/functions.js
patch
|
blob
|
history
diff --git
a/lib/functions.js
b/lib/functions.js
index
fd65cd4
..
8c983b5
100644
(file)
--- a/
lib/functions.js
+++ b/
lib/functions.js
@@
-230,6
+230,8
@@
function gridDrillDown(e)
if (!cell) return;
var value = cell.innerHTML;
+ if (!value.length || value == ' ') return;
+
if (document.getElementById('details')) {
var params = 'source=' + grid.tableId.substr(5) + '&id=' + value;
ajax_request('details', params, details_callback);