projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #5791 - Search Criteria on Orders / Columns on orders
[roojs1]
/
Roo
/
menu
/
Menu.js
diff --git
a/Roo/menu/Menu.js
b/Roo/menu/Menu.js
index
e817537
..
8bdf510
100644
(file)
--- a/
Roo/menu/Menu.js
+++ b/
Roo/menu/Menu.js
@@
-19,7
+19,9
@@
* @param {Object} config Configuration options
*/
Roo.menu.Menu = function(config){
* @param {Object} config Configuration options
*/
Roo.menu.Menu = function(config){
- Roo.apply(this, config);
+
+ Roo.menu.Menu.superclass.constructor.call(this, config);
+
this.id = this.id || Roo.id();
this.addEvents({
/**
this.id = this.id || Roo.id();
this.addEvents({
/**
@@
-146,7
+148,10
@@
Roo.extend(Roo.menu.Menu, Roo.util.Observable, {
tag: "a", cls: "x-menu-focus", href: "#", onclick: "return false;", tabIndex:"-1"
});
var ul = el.createChild({tag: "ul", cls: "x-menu-list"});
tag: "a", cls: "x-menu-focus", href: "#", onclick: "return false;", tabIndex:"-1"
});
var ul = el.createChild({tag: "ul", cls: "x-menu-list"});
- ul.on(Roo.isTouch ? 'touchstart' : 'click' , this.onClick, this);
+ //disabling touch- as it's causing issues ..
+ //ul.on(Roo.isTouch ? 'touchstart' : 'click' , this.onClick, this);
+ ul.on('click' , this.onClick, this);
+
ul.on("mouseover", this.onMouseOver, this);
ul.on("mouseout", this.onMouseOut, this);
ul.on("mouseover", this.onMouseOver, this);
ul.on("mouseout", this.onMouseOut, this);