New shortcuts added for next/previous tab, move line up/down, new tab and close tab switchTab function now accepts a noFocus param to stop focusing on the document Fix to set the visibility on the content area when starting a new tab, wasn't showing otherwise Functions added for nextTab, previousTab, moveLineUp and moveLineDown (Other 2 functions newTab & closeTab already exist) helpScreen taller to accomodate the 6 new shortcuts
If for some reason the createNewCMInstance function isn't ready & available, reload the iframe containing file-control.php which works with the issue by giving more time and leave a note in the console.log. Also move everything to do with the the loading process into the successful part of the if condition.
No need to conditionally define $file on action/contents $file is now either existing or new filename Converted to fullpath and fileLoc and fileName established from this Extension checking on fileName now not full path ($file) Variable reassignment, fileName now used much more Path realignments in many areas Big chunks of code removed, simplified or made singularly available Better error handling & code optimisation/shortening
Now making $file the common filename (instead of $saveFile) This is changed to a full path now as we receive a relative path $fileName and $fileLoc chunks worked out from this isset catching on newFileName before looking at value Renaming the tab on saving new file htmlentities wrapped around loaded file on overwrite collision Not giving away fullpath info on unwritable files if we're not logged Conditional getInput dialog prompt Simplified code in quite a few areas
No need to add add / to end of getInput dialog default Double // replaced with / in error catching Correct perms shown on update of file manager; 705 on folders, 644 on files if condition block tabbed to right depth, for syntax clarity only