prepare for remix history

upd4.2
Michael Aschauer 2018-10-02 11:20:58 +02:00
rodzic bf3877bce8
commit 72ea700c18
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1081,7 +1081,7 @@ IDE_Morph.prototype.downloadDST = function() {
IDE_Morph.prototype.setProjectName = function (string) {
if (string.replace(/['"]/g, '') != this.projectName && SnapCloud.username != this.creator) {
if (string.replace(/['"]/g, '') != this.projectName || SnapCloud.username != this.creator) {
this.remixHistory = this.creator + ":" + this.projectName + ";" + this.remixHistory
}
this.origCreator = SnapCloud.username != this.creator ? this.creator : SnapCloud.username;