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
The last line makes the id available in the ngDialogData.
It's not possible to do that using openConfirm() as it returns promise. Therefore, this dialog's scope has no way of knowing what the id of a dialog is.
The text was updated successfully, but these errors were encountered:
MiguelMike
changed the title
Dialog id should be available in its scope.
Dialog id should be available in dialog's scope.
Jul 8, 2015
With a bit of a hack it's possible to pass the dialog's id to the scope:
The last line makes the
id
available in the ngDialogData.It's not possible to do that using
openConfirm()
as it returns promise. Therefore, this dialog's scope has no way of knowing what the id of a dialog is.The text was updated successfully, but these errors were encountered: