projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba6931d
)
examples/grid/edit-grid.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Nov 2012 08:02:59 +0000
(16:02 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Nov 2012 08:02:59 +0000
(16:02 +0800)
examples/grid/edit-grid.js
patch
|
blob
|
history
diff --git
a/examples/grid/edit-grid.js
b/examples/grid/edit-grid.js
index
a20c6d0
..
4b96cff
100644
(file)
--- a/
examples/grid/edit-grid.js
+++ b/
examples/grid/edit-grid.js
@@
-183,14
+183,14
@@
Roo.onReady(function(){
// we may drop nodes anywhere, as long as allowChildren has not been set to false..
- var q = (b - t) / 2
)
;
+ var q = (b - t) / 2;
if(y >= t && y < (t + q)){
return "above";
- }else if(!noBelow && (noAppend || y >= b-q && y <= b)){
+ }
+ if(!noBelow && (noAppend || y >= b-q && y <= b)){
return "below";
- }else{
- return "append";
}
+ return false;
},
});