equal
deleted
inserted
replaced
1207 if (!this.renkan.options.default_view){ |
1207 if (!this.renkan.options.default_view){ |
1208 this.view.autoScale(); |
1208 this.view.autoScale(); |
1209 } |
1209 } |
1210 return; |
1210 return; |
1211 } |
1211 } |
1212 if (typeof _params.idView !== 'undefined'){ |
1212 if (typeof _params.viewIndex !== 'undefined'){ |
1213 this.view = this.addRepresentation("View", this.renkan.project.get("views").at(this.validViewIndex(_params.idView))); |
1213 this.view = this.addRepresentation("View", this.renkan.project.get("views").at(this.validViewIndex(_params.viewIndex))); |
1214 if (!this.renkan.options.default_view){ |
1214 if (!this.renkan.options.default_view){ |
1215 this.view.autoScale(); |
1215 this.view.autoScale(); |
1216 } |
1216 } |
1217 } |
1217 } |
1218 if (typeof _params.view !== 'undefined' && _params.view.split(",").length >= 3){ |
1218 if (typeof _params.view !== 'undefined' && _params.view.split(",").length >= 3){ |