projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment out row/cell selection requirement for cellclick - no idea why that was done...
[roojs1]
/
roojs-core-debug.js
diff --git
a/roojs-core-debug.js
b/roojs-core-debug.js
index
3853711
..
54ce8c6
100644
(file)
--- a/
roojs-core-debug.js
+++ b/
roojs-core-debug.js
@@
-5066,7
+5066,11
@@
Roo.DomQuery = function(){
}
var r = [], ri = -1, cn;
for(var i = 0, ci; ci = c[i]; i++){
}
var r = [], ri = -1, cn;
for(var i = 0, ci; ci = c[i]; i++){
- if((' '+ci.className+' ').indexOf(v) != -1){
+
+
+ if((' '+
+ ( (ci instanceof SVGElement) ? ci.className.baseVal : ci.className)
+ +' ').indexOf(v) != -1){
r[++ri] = ci;
}
}
r[++ri] = ci;
}
}
@@
-5084,7
+5088,7
@@
Roo.DomQuery = function(){
return n.htmlFor;
}
if(attr == "class" || attr == "className"){
return n.htmlFor;
}
if(attr == "class" || attr == "className"){
-
return
n.className;
+
return (n instanceof SVGElement) ? n.className.baseVal :
n.className;
}
return n.getAttribute(attr) || n[attr];
}
return n.getAttribute(attr) || n[attr];
@@
-5188,7
+5192,7
@@
Roo.DomQuery = function(){
a = Roo.DomQuery.getStyle(ci, attr);
}
else if(attr == "class" || attr == "className"){
a = Roo.DomQuery.getStyle(ci, attr);
}
else if(attr == "class" || attr == "className"){
- a = ci.className;
+ a =
(ci instanceof SVGElement) ? ci.className.baseVal :
ci.className;
}else if(attr == "for"){
a = ci.htmlFor;
}else if(attr == "href"){
}else if(attr == "for"){
a = ci.htmlFor;
}else if(attr == "href"){
@@
-8297,7
+8301,7
@@
if(opt.anim.isAnimated()){
//action on double tap goes below
},
//action on double tap goes below
},
-
+
/**
* Removes an event handler from this element
* @param {String} eventName the type of event to remove
/**
* Removes an event handler from this element
* @param {String} eventName the type of event to remove