From 80a89a64f1cb858bbdeba7977c9d742a5f3d980e Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 31 Mar 2018 18:46:44 -0700 Subject: [PATCH] fix having multiple modal dialogs --- routes/_components/dialog/ImageDialog.html | 9 +++-- routes/_components/dialog/ModalDialog.html | 35 +++++++++++++++++-- routes/_components/dialog/VideoDialog.html | 9 +++-- .../_components/dialog/createDialogElement.js | 7 ++++ .../_components/dialog/showComposeDialog.js | 3 +- .../dialog/showConfirmationDialog.js | 3 +- routes/_components/dialog/showEmojiDialog.js | 3 +- routes/_components/dialog/showImageDialog.js | 3 +- .../dialog/showPostPrivacyDialog.js | 3 +- .../dialog/showStatusOptionsDialog.js | 3 +- routes/_components/dialog/showVideoDialog.js | 3 +- templates/2xx.html | 3 -- 12 files changed, 67 insertions(+), 17 deletions(-) create mode 100644 routes/_components/dialog/createDialogElement.js diff --git a/routes/_components/dialog/ImageDialog.html b/routes/_components/dialog/ImageDialog.html index 42cb649..31fd59d 100644 --- a/routes/_components/dialog/ImageDialog.html +++ b/routes/_components/dialog/ImageDialog.html @@ -1,4 +1,9 @@ - + {{#if type === 'gifv'}}