Compare commits

..

No commits in common. "236522145cdffdb5a30925c8ede0bba192e9fcc4" and "4d670e416d8726f369c7af8fa48e3bb99dbd3272" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -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,this.selectedPlugin.object); this.selectedPlugin.object = PluginUtils.initializeObjectAndCompare(template.code,null);
this.edit(this.selectedPlugin, this.selectedTemplate); this.edit(this.selectedPlugin, this.selectedTemplate);
} }