thorasmund
29 Sep 2007, 10:59 PM
Ext version: 2.0-alpha1
ext-base.js: 2.0-alpha1
ext-all.js: 2.0-alpha1
OS: Windows XP
Browser: Firefox 2.0.0.7
Creating a splitbutton and rendering it to a form element causes an exception if disabled is set to true. A normal button does not cause any exception.
The exception thrown is:
An attempt was made to create or change an object in a way which is incorrect with regard to namespaces" code: "14
http://xtempo/ext/ext-all.js
Line 14
Example:
<div id="buttonContainer">
</div>
<script class="javascript">
Ext.onReady(function(){
var mySplitBtn = new Ext.SplitButton({
renderTo: 'buttonContainer',
text: 'Split me',
disabled: true
});
});
</script>
ext-base.js: 2.0-alpha1
ext-all.js: 2.0-alpha1
OS: Windows XP
Browser: Firefox 2.0.0.7
Creating a splitbutton and rendering it to a form element causes an exception if disabled is set to true. A normal button does not cause any exception.
The exception thrown is:
An attempt was made to create or change an object in a way which is incorrect with regard to namespaces" code: "14
http://xtempo/ext/ext-all.js
Line 14
Example:
<div id="buttonContainer">
</div>
<script class="javascript">
Ext.onReady(function(){
var mySplitBtn = new Ext.SplitButton({
renderTo: 'buttonContainer',
text: 'Split me',
disabled: true
});
});
</script>