-
30 Jan 2010 2:10 AM #1
[CLOSED][3.1] GroupTab UI incorrect behavior (All browsers)
[CLOSED][3.1] GroupTab UI incorrect behavior (All browsers)
Hi!
Steps to reproduce:
- open the example (official site):
http://www.extjs.com/deploy/dev/exam...grouptabs.html
- Click on the menu "email templates"
- Click on the menu "users"
- Click on the menu "email templates"
It doesn't work.
You have to click on an item of the GroupTap that has not been clicked before (i.e. you have to click on "Configuration" to have "email templates" work again).
You can reproduce it on Firefox 3.6 and Chrome 3.0.195.38 and Chrome 4.0.249.78
Another way of saying it:
- Click on the menu "email templates". From now on the button "email templates" doesn't work as long as you don't click on one item of its group.
- Click on the menu "users". From now on the button "users" doesn't work as long as you don't click on one item of its group.
And so on.
-
30 Jan 2010 3:13 AM #2
Here's the workaround:
Edit GroupTab.js,
Go line 74 (function setActiveTab) and change this:
toCode:if(this.activeTab != item && this.fireEvent('beforetabchange', this, item, this.activeTab) !== false){
Code:if(this.fireEvent('beforetabchange', this, item, this.activeTab) !== false){
-
30 Jan 2010 5:45 AM #3
i believe this has already been fixed in 3.1.1-beta:
http://www.extjs.com/forum/showthread.php?t=87991
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
31 Jan 2010 12:33 AM #4
You're right, but the solution is different than mine.
I don't know which one is the best conceptually talking...
Any help would be appreciated!
-
31 Jan 2010 12:38 AM #5
The fix will be out shortly, so I'm closing this thread.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote