projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a4d134
)
call signature of menue has changed.
author
Alan Knowles
<alan@roojs.com>
Wed, 11 Mar 2020 07:29:46 +0000
(15:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 11 Mar 2020 07:29:46 +0000
(15:29 +0800)
docs/Roo.docs.init.js
patch
|
blob
|
history
diff --git
a/docs/Roo.docs.init.js
b/docs/Roo.docs.init.js
index
aa21c58
..
8074eb6
100644
(file)
--- a/
docs/Roo.docs.init.js
+++ b/
docs/Roo.docs.init.js
@@
-124,9
+124,9
@@
Roo.docs.init = {
preventDefault : true,
// cls : type == 'NavSidebarItem' ? 'open' : '',
listeners : {
preventDefault : true,
// cls : type == 'NavSidebarItem' ? 'open' : '',
listeners : {
- click : (function(mi,ev,c)
+ click : (function(mi,ev,
lv,
c)
{
{
-
+ Roo.log(arguments);
ev.stopEvent();
if (c.cn.length && mi.xtype == 'MenuItem') {
ev.stopEvent();
if (c.cn.length && mi.xtype == 'MenuItem') {
@@
-154,13
+154,13
@@
Roo.docs.init = {
xns: Roo.bootstrap,
xtype : 'Menu',
listeners : {
xns: Roo.bootstrap,
xtype : 'Menu',
listeners : {
- beforehide : (function(mi,c)
+ beforehide : (function(mi,
lv,
c)
{
if (Roo.docs.init.prefix.length) {
return;
}
{
if (Roo.docs.init.prefix.length) {
return;
}
- if (
typeof(c.name) == 'undefined' ||
c.name.split('.').length < 2) {
+ if ( c.name.split('.').length < 2) {
return false;
}
return true;
return false;
}
return true;