Compare commits
2 Commits
4d670e416d
...
236522145c
Author | SHA1 | Date |
---|---|---|
argirok | 236522145c | |
argirok | e5ff78224e |
|
@ -118,7 +118,7 @@ export class PluginsFormComponent implements OnInit {
|
||||||
}else{
|
}else{
|
||||||
this.selectedPlugin = new Plugin(this.page._id,this.selectedCommunityPid, template);
|
this.selectedPlugin = new Plugin(this.page._id,this.selectedCommunityPid, template);
|
||||||
// this.selectedPlugin.order = this.pluginsByPlacement.get(this.selectedPlacementView).length;
|
// this.selectedPlugin.order = this.pluginsByPlacement.get(this.selectedPlacementView).length;
|
||||||
this.selectedPlugin.object = PluginUtils.initializeObjectAndCompare(template.code,null);
|
this.selectedPlugin.object = PluginUtils.initializeObjectAndCompare(template.code,this.selectedPlugin.object);
|
||||||
this.edit(this.selectedPlugin, this.selectedTemplate);
|
this.edit(this.selectedPlugin, this.selectedTemplate);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue