git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git]
/
docs
/
source
/
Button.html
diff --git
a/docs/source/Button.html
b/docs/source/Button.html
index
02a91e7
..
a8a33a8
100644
(file)
--- a/
docs/source/Button.html
+++ b/
docs/source/Button.html
@@
-7,7
+7,7
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.
1
+ * Ext JS Library 3.2.
2
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-382,9
+382,10
@@
Ext.Button = Ext.extend(Ext.BoxComponent, {
if(this.repeat){
var repeater = new Ext.util.ClickRepeater(btn, Ext.isObject(this.repeat) ? this.repeat : {});
if(this.repeat){
var repeater = new Ext.util.ClickRepeater(btn, Ext.isObject(this.repeat) ? this.repeat : {});
- this.mon(repeater, 'click', this.onClick, this);
+ this.mon(repeater, 'click', this.onRepeatClick, this);
+ }else{
+ this.mon(btn, this.clickEvent, this.onClick, this);
}
}
- this.mon(btn, this.clickEvent, this.onClick, this);
},
// private
},
// private
@@
-452,7
+453,7
@@
Ext.Button = Ext.extend(Ext.BoxComponent, {
this.clearTip();
}
if(this.menu && this.destroyMenu !== false) {
this.clearTip();
}
if(this.menu && this.destroyMenu !== false) {
- Ext.destroy(this.menu);
+ Ext.destroy(this.
btnEl, this.
menu);
}
Ext.destroy(this.repeater);
},
}
Ext.destroy(this.repeater);
},
@@
-616,6
+617,11
@@
Ext.Button = Ext.extend(Ext.BoxComponent, {
hasVisibleMenu : function(){
return this.menu && this.menu.ownerCt == this && this.menu.isVisible();
},
hasVisibleMenu : function(){
return this.menu && this.menu.ownerCt == this && this.menu.isVisible();
},
+
+ // private
+ onRepeatClick : function(repeat, e){
+ this.onClick(e);
+ },
// private
onClick : function(e){
// private
onClick : function(e){