From 54775a9cc5e818a3396a8bb5a8c6724f6507b747 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 10 May 2016 17:49:36 +0200 Subject: [PATCH] small width fix --- Site5/Controls/v5/Base/ModalDialog.ascx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Site5/Controls/v5/Base/ModalDialog.ascx b/Site5/Controls/v5/Base/ModalDialog.ascx index f9160e01..912e9bb5 100644 --- a/Site5/Controls/v5/Base/ModalDialog.ascx +++ b/Site5/Controls/v5/Base/ModalDialog.ascx @@ -37,6 +37,12 @@ %> } + $(document).ready(function() { + // assuming this runs AFTER the page doc.ready, when easyUI layout happens + + $('#<%=this.ClientID %>_hiddenInitArea').css('display', 'none'); // remove from layout + }); + var <%=this.ClientID%>_initialized = false; @@ -53,7 +59,7 @@ -