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.3.1 - Released 11/30/2010
[extjs.git]
/
docs
/
source
/
Button.html
diff --git
a/docs/source/Button.html
b/docs/source/Button.html
index
76b3281
..
d7f5905
100644
(file)
--- a/
docs/source/Button.html
+++ b/
docs/source/Button.html
@@
-7,10
+7,10
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.3.
0
- * Copyright(c) 2006-2010
Ext JS,
Inc.
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.3.
1
+ * Copyright(c) 2006-2010
Sencha
Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
<div id="cls-Ext.Button"></div>/**
* @class Ext.Button
*/
<div id="cls-Ext.Button"></div>/**
* @class Ext.Button
@@
-202,6
+202,11
@@
Ext.Button = Ext.extend(Ext.BoxComponent, {
*/
initComponent : function(){
*/
initComponent : function(){
+ if(this.menu){
+ this.menu = Ext.menu.MenuMgr.get(this.menu);
+ this.menu.ownerCt = this;
+ }
+
Ext.Button.superclass.initComponent.call(this);
this.addEvents(
Ext.Button.superclass.initComponent.call(this);
this.addEvents(
@@
-264,8
+269,9
@@
Ext.Button = Ext.extend(Ext.BoxComponent, {
*/
'menutriggerout'
);
*/
'menutriggerout'
);
- if(this.menu){
- this.menu = Ext.menu.MenuMgr.get(this.menu);
+
+ if (this.menu){
+ this.menu.ownerCt = undefined;
}
if(Ext.isString(this.toggleGroup)){
this.enableToggle = true;
}
if(Ext.isString(this.toggleGroup)){
this.enableToggle = true;