mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-27 12:04:21 +00:00
Removed leading "." in env javascript's fullpath
This commit is contained in:
parent
f48c77cf95
commit
f9485a14cb
@ -233,7 +233,7 @@ end
|
||||
var html = "<table>";
|
||||
for (var i = 0; json.vars[i]; i++) {
|
||||
var x = json.vars[i];
|
||||
var fullpath = json.path + "." + x.key;
|
||||
var fullpath = (json.path + "." + x.key).replace(/^\./, "");
|
||||
var k = x.key;
|
||||
if (x.type == "table") {
|
||||
k = "<a href='#' onclick=\"setEnvPath('" + fullpath + "')\">" +
|
||||
|
Loading…
Reference in New Issue
Block a user