You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -76,7 +76,7 @@ DesignerApp.module("NodeModule.Modal", function(Modal, DesignerApp, Backbone, Ma
76
76
// console.log(this.parent);
77
77
this.$('#relation-relatedmodel').find('option[value='+this.model.get('relatedmodel')+']').attr('selected','selected');//make destination selected by default
78
78
this.$('#relation-relationtype').find('option[value='+this.model.get('relationtype')+']').attr('selected','selected');//make destination selected by default
79
-
this.$('#relation-relatedmodel').find('option[value='+this.container.get('name')+']').remove();//remove self (model) from option list
79
+
this.$('#relation-relatedmodel').find('option[value='+this.container.get('classname')+']').remove();//remove self (model) from option list
0 commit comments