Commit c5fef012 authored by Marc Duez's avatar Marc Duez

model.js : debug restoreClones() ( bug if no previous user clones have been made )

parent f9d026e4
...@@ -1653,10 +1653,11 @@ Model.prototype = { ...@@ -1653,10 +1653,11 @@ Model.prototype = {
* */ * */
restoreClones: function () { restoreClones: function () {
this.cluster_key = "" this.cluster_key = ""
if ( typeof this.clones_copy != 'undefined'){
this.clones = this.clones_copy
this.update()
}
this.clones = this.clones_copy
this.update()
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment