new database-skins now get the source of the skinfile as default
This commit is contained in:
parent
bbfcb3d4f4
commit
7371cad6c2
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ function skineditor_macro(param) {
|
|||
currSkin.renderSkin("edit");
|
||||
} else {
|
||||
var newSkin = new skin();
|
||||
// since this is a new skin, we give it the source of the skinfile as default
|
||||
var sf = new File(getProperty("appPath") + req.data.proto + "/" + req.data.name + ".skin");
|
||||
newSkin.skin = sf.readAll();
|
||||
newSkin.renderSkin("edit");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue