Skip to content
Snippets Groups Projects
Commit 6aa376cb authored by Justin Cleveland's avatar Justin Cleveland
Browse files

Fixing positioning of elements in theme section styles again -- no bug #

parent fd05400d
No related branches found
No related tags found
No related merge requests found
...@@ -84,8 +84,8 @@ function removeTheme(){ ...@@ -84,8 +84,8 @@ function removeTheme(){
/*** Theme Package Upload Functions ***/ /*** Theme Package Upload Functions ***/
themeUploadForm.action = themeUrl+q+csrf; themeUploadForm.action = themeUrl+q+csrf;
$(themeUploadForm).parent().css('position','relative'); $(themeUploadForm).parent().parent().css('position','relative');
$(themeUploadForm).parent().css('top','-30px'); $(themeUploadForm).parent().parent().css('top','-30px');
themeUploadForm.onsubmit = function(event) { themeUploadForm.onsubmit = function(event) {
event.preventDefault(); event.preventDefault();
$(themeUploadSubmit).text('Uploading...'); $(themeUploadSubmit).text('Uploading...');
...@@ -120,7 +120,7 @@ themeUploadForm.onsubmit = function(event) { ...@@ -120,7 +120,7 @@ themeUploadForm.onsubmit = function(event) {
uploaded = true; uploaded = true;
} }
if(!uploaded){ 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).text('Upload');
$(themeUploadSubmit).removeAttr('disabled'); $(themeUploadSubmit).removeAttr('disabled');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment