Skip to content

Uncaught ReferenceError: tmp is not defined #450

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

Open
1 task
nocturnalguru opened this issue Mar 23, 2023 · 1 comment · May be fixed by #461
Open
1 task

Uncaught ReferenceError: tmp is not defined #450

nocturnalguru opened this issue Mar 23, 2023 · 1 comment · May be fixed by #461

Comments

@nocturnalguru
Copy link

nocturnalguru commented Mar 23, 2023

upgraded to ftp-remote-edit

--> HIT CTRL SPACE AND LOG IN -> THEN ARROW DOWN TO NAVIGATE TREE. AFTER A FEW TIMES PRESSING DOWN, IT PRODUCES THE ERROR. THE MOUSE STILL WORKS.

The above was automatically generated when I used the 'copy' button to report the issue. Not sure if this is something in pulsar that still needs to be updated from atom to pulsar.

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.102.0 x64
Electron: 12.2.3
OS: Ubuntu 22.04.2
Thrown From: ftp-remote-edit package 0.20.0

Stack Trace

Uncaught ReferenceError: tmp is not defined

At /home/pjiggy/.pulsar/packages/ftp-remote-edit/lib/views/tree-view.js:612

ReferenceError: tmp is not defined
    at TreeView.remoteKeyboardNavigationDown (tree-view.js:612:10)
    at TreeView.remoteKeyboardNavigation (tree-view.js:556:14)
    at HTMLDivElement.<anonymous> (tree-view.js:126:38)
    at HTMLDivElement.dispatch (/packages/ftp-remote-edit/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/ftp-remote-edit/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -1:12.4.0 ftp-remote-edit:toggle (div.tool-panel.tree-view)
     -1:10.1.0 core:confirm (input.hidden-input)
 10x -1:00.7.0 core:move-down (div.ftp-remote-edit-view.ftp-remote-edit-resizer.tool-panel)

Non-Core Packages

ftp-remote-edit 0.20.0 

Additional Information

simply entering the password and selecting the server will trigger the error as soon as I navigate using the arrow keys to expand the directory tree.

Love the work you have done so far...

@vitneum
Copy link

vitneum commented May 7, 2023

tree-view.js : line 612
[ tmp = current; ]
edit to [ let tmp = current; ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants