fixed bug in saveSkin() that caused missing user and date information for customized skins
This commit is contained in:
parent
01a74945ac
commit
6201d660ad
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ function saveSkin(proto,name,source,creator) {
|
||||||
var result;
|
var result;
|
||||||
if (proto && name) {
|
if (proto && name) {
|
||||||
var s = this.fetchSkin(proto,name);
|
var s = this.fetchSkin(proto,name);
|
||||||
if (!s.proto && skin) {
|
if (!s.proto && source) {
|
||||||
s.creator = creator;
|
s.creator = creator;
|
||||||
s.createtime = new Date();
|
s.createtime = new Date();
|
||||||
s.name = name;
|
s.name = name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue