Skip to content

Commit

Permalink
BUILD 2017.05.01-006
Browse files Browse the repository at this point in the history
Opening a modal with limited embed types should now show the correct
initial form.
  • Loading branch information
rpeterman-gp committed May 1, 2017
1 parent f223441 commit 8db033f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/embed-containers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ var EntityEmbed = EntityEmbed || {};
scope.currentEmbedType = scope.modalCtrl.scope.currentEmbedType = getEmbedTypeByObjectType(currentEmbedTypeName, scope.embedTypes);
scope.currentEmbedType.clearForm(scope.currentEmbedType.$view);
scope.currentEmbedType.$view.show();
scope.$embedTypeSelect.val(embedType);
scope.$embedTypeSelect.val(currentEmbedTypeName);

headerText = scope.headerText;

Expand Down
Loading

0 comments on commit 8db033f

Please sign in to comment.