Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Extension Manager throws TypeError on selecting tab #8456

Open
core-ai-bot opened this issue Aug 30, 2021 · 0 comments
Open

[CLOSED] Extension Manager throws TypeError on selecting tab #8456

core-ai-bot opened this issue Aug 30, 2021 · 0 comments

Comments

@core-ai-bot
Copy link
Member

Issue by yaddran
Tuesday Oct 07, 2014 at 14:09 GMT
Originally opened as adobe/brackets#9466


Mac OS X 10.9.5

Release 0.44 experimental build 0.44.0-14876 (release 6d2d33d80)
build timestamp: Fri Oct 03 2014 15:05:19 GMT-0700

console log:

Uncaught TypeError: Cannot set property 'scrollPos' of undefined /extensibility/ExtensionManagerDialog.js:310
setActiveTab /extensibility/ExtensionManagerDialog.js:310
(anonymous function) /extensibility/ExtensionManagerDialog.js:319
o.event.dispatch thirdparty.min.js:560
r.handle thirdparty.min.js:560

The code in question:

function setActiveTab($tab) {
    models[_activeTabIndex].scrollPos = $(".modal-body", $dlg).scrollTop(); //line 310
    $tab.tab("show");
    $(".modal-body", $dlg).scrollTop(models[_activeTabIndex].scrollPos || 0);
    $searchClear.click();
}

How to reproduce:

  1. Debug -> Show Developer Tools
  2. File -> Extension Manager
  3. As soon as you see the dialog click on "Installed". You have more time to produce the error if you do this after fresh start of the Brackets but it is always there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant