usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.53k stars 591 forks source link

File Manager redirects to "/?" #189

Closed xiaoyong-wang closed 4 years ago

xiaoyong-wang commented 4 years ago

Hi there,

When when i click Create File or Create Folder on the CyberPanel File Manager, i type the file name, and i click enter, it goes to hostnamehere(this isnt really my hostname):8090/? instead of creating the new file/folder it only works if i click the submit button, it redirects to hostnamehere(this isnt really my hostname):8090/? if i click enter.

This doesnt happen with the rename file/folder feature This also happens with Staging Setup and Alias Manager in cyberpanel

usmannasir commented 4 years ago

So far don't listen to Enter event in these fields.

xiaoyong-wang commented 4 years ago

Is it possible that you can make it so that the enter key doesnt do anything in the fields? Or have it so the enter key submits the field

usmannasir commented 4 years ago

Fixed, related commits are attached to this issue.