Merge pull request #145 from Dahlgren/feature/clone-server-disable-autostart

Disable autostart for cloned server
This commit is contained in:
Björn Dahlgren 2019-10-18 10:35:23 +02:00 committed by GitHub
commit 90c3d609f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ define(function (require) {
clone: function (e) {
var title = this.model.get('title') + ' Clone';
var clone = this.model.clone();
clone.set({id: null, title: title});
clone.set({id: null, title: title, auto_start: false});
clone.save();
},