From 43fa90048e64d76b4779141d51f74e4c067c6861 Mon Sep 17 00:00:00 2001 From: scottdowne Date: Fri, 5 Apr 2013 13:22:54 -0400 Subject: [PATCH] [#858715] Enforce drag n drop sizes before the update. --- public/templates/assets/editors/editorhelper.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/templates/assets/editors/editorhelper.js b/public/templates/assets/editors/editorhelper.js index ba8a40cbf..197619e14 100644 --- a/public/templates/assets/editors/editorhelper.js +++ b/public/templates/assets/editors/editorhelper.js @@ -46,6 +46,10 @@ options.end(); } + // Enforce container size here, instead of relying on the update. + container.style.width = width + "%"; + container.style.height = height + "%"; + blurActiveEl(); trackEvent.update({