humphd / humphd/next

Editor File/Folder move is currently not working.

Open
#80 0 comments 0 reactions 2 assignees Claimed by @twigz20 View on GitHub
assigned bug editor
Dominant language
JavaScript
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

At the moment The File/Move extension seems to be having a couple issues.

- Firstly, the name of the folders are not being shown.

![screenshot_14](https://user-images.githubusercontent.com/10361408/41171151-7dd47eb2-6b1d-11e8-934f-e9a22a89787f.png)

- Secondly, this is the error that shows up on the console.
```
main.js:12 Uncaught TypeError: Cannot read property 'replace' of undefined
at Object.r [as format] (main.js:12)
at o (main.js:1)
at j (thirdparty.min.js:120)
at Object.fireWith [as rejectWith] (thirdparty.min.js:120)
at Object.e.(:8080/editor/anonymous function) [as reject] (http://localhost:8080/editor/thirdparty/thirdparty.min.js:120:28704)
at main.js:1
at MessagePort.r (main.js:15)
```
- Lastly, this is where the error actually happens
```
define("utils/StringUtils", ["require", "exports", "module", "thirdparty/lodash"], function(e, t, n) {
"use strict";
function r(e) {
var t = [].slice.call(arguments, 1);
// Issue is here
return e.replace(/\{(\d+)\}/g, function(e, n) {
return "undefined" != typeof t[n] ? t[n] : e
})
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.