From 6aa376cbba08f65b148f9a57f8b043003cfa8a3a Mon Sep 17 00:00:00 2001 From: Justin Cleveland <clevelandj@wustl.edu> Date: Tue, 12 Jul 2016 16:54:59 -0500 Subject: [PATCH] Fixing positioning of elements in theme section styles again -- no bug # --- src/main/webapp/scripts/xnat/admin/themeManagement.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/scripts/xnat/admin/themeManagement.js b/src/main/webapp/scripts/xnat/admin/themeManagement.js index 930e230b..64b3702a 100644 --- a/src/main/webapp/scripts/xnat/admin/themeManagement.js +++ b/src/main/webapp/scripts/xnat/admin/themeManagement.js @@ -84,8 +84,8 @@ function removeTheme(){ /*** Theme Package Upload Functions ***/ themeUploadForm.action = themeUrl+q+csrf; -$(themeUploadForm).parent().css('position','relative'); -$(themeUploadForm).parent().css('top','-30px'); +$(themeUploadForm).parent().parent().css('position','relative'); +$(themeUploadForm).parent().parent().css('top','-30px'); themeUploadForm.onsubmit = function(event) { event.preventDefault(); $(themeUploadSubmit).text('Uploading...'); @@ -120,7 +120,7 @@ themeUploadForm.onsubmit = function(event) { uploaded = true; } if(!uploaded){ - xmodal.message('Nothing Uploaded', 'No valid theme package files were selected for upload.'); + xmodal.message('Nothing Uploaded', 'No valid theme package files were selected for upload.<br><br>Click the "Choose Files" button below to browse for a theme package.'); $(themeUploadSubmit).text('Upload'); $(themeUploadSubmit).removeAttr('disabled'); } -- GitLab