vukbgit / ftp-remote-edit-plus

a fork of ftp-remote-edit Atom package
MIT License
5 stars 1 forks source link

Uncaught TypeError: Cannot read property 'classList' of undefined #1

Closed zzshake closed 5 years ago

zzshake commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.31.2 ia32 Electron: 2.0.7 OS: Microsoft Windows 8.1 Pro Thrown From: ftp-remote-edit-plus package 1.1.0

Stack Trace

Uncaught TypeError: Cannot read property 'classList' of undefined

At C:\Users\Zain\.atom\packages\ftp-remote-edit-plus\lib\views\configuration-view.js:683

TypeError: Cannot read property 'classList' of undefined
    at ConfigurationView.disableInputFields (/packages/ftp-remote-edit-plus/lib/views/configuration-view.js:683:26)
    at ConfigurationView.reload (/packages/ftp-remote-edit-plus/lib/views/configuration-view.js:616:12)
    at FtpRemoteEdit.editServers (/packages/ftp-remote-edit-plus/lib/ftp-remote-edit-plus.js:313:28)
    at HTMLElement.ftpRemoteEditEditServers (/packages/ftp-remote-edit-plus/lib/ftp-remote-edit-plus.js:56:50)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.31.2/resources/app/src/command-registry.js:384:49)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.31.2/resources/app/src/command-registry.js:273:23)
    at /packages/ftp-remote-edit-plus/lib/views/tree-view.js:150:21)
    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

  2x -4:12.9.0 core:confirm (input.hidden-input)
 15x -4:12.2.0 core:backspace (input.hidden-input)
  4x -4:09.3.0 core:confirm (input.hidden-input)
     -4:08.6.0 core:cancel (input.hidden-input)
  4x -3:43.3.0 core:confirm (input.hidden-input)
     -1:50.9.0 ftp-remote-edit:toggle (table.package-keymap-table.table.native-key-bindings.text)
 12x -1:46.5.0 core:backspace (input.hidden-input)
  2x -1:40.9.0 core:confirm (input.hidden-input)
 14x -1:39.8.0 core:backspace (input.hidden-input)
     -1:36.2.0 core:confirm (input.hidden-input)
  2x -1:35.7.0 core:cancel (input.hidden-input)
  4x -0:40.9.0 remote-ftp:toggle (div.package-detail.panels-item)
  3x -0:23 ftp-remote-edit:toggle (div.package-detail.panels-item)
     -0:14.3.0 core:confirm (input.hidden-input)
  2x -0:10.8.0 ftp-remote-edit:toggle (atom-pane.pane)
     -0:08.1.0 ftp-remote-edit:edit-servers (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

ftp-remote-edit-plus 1.1.0 
remote-ftp 2.2.0 
script 3.15.0 
styri-syntax 0.2.0 
vukbgit commented 5 years ago

It happened when there were no folders saved and you tried to open servers view, should be fixed in commit 4d85112961881a293c6ef23d33f1904a6f73614d, if you can update and check please give me feedback

vukbgit commented 5 years ago

Sorry, I pushed on github but not published changes in atom.io, now you should be able to update form within Atom (settings -> Updates) package to version 1.1.3, which is the fixed one

zzshake commented 5 years ago

Thank you!

On Thu, Oct 18, 2018 at 12:23 PM vukbgit notifications@github.com wrote:

Sorry, I pushed on github but not published changes in atom.io, now you should be able to update form within Atom (settings -> Updates) package to version 1.1.3, which is the fixed one

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vukbgit/ftp-remote-edit-plus/issues/1#issuecomment-431093101, or mute the thread https://github.com/notifications/unsubscribe-auth/AWEiJu7pWMhC5--8UghCCj30z14cgMgaks5umLkfgaJpZM4XdeA7 .

-- Zain Sheikh