diff --git a/core/src/main/resources/hudson/model/View/newJob.jelly b/core/src/main/resources/hudson/model/View/newJob.jelly index 31bbdd0c6b..eb41acfd62 100644 --- a/core/src/main/resources/hudson/model/View/newJob.jelly +++ b/core/src/main/resources/hudson/model/View/newJob.jelly @@ -29,14 +29,13 @@ THE SOFTWARE. - + - - + diff --git a/war/src/main/js/add-item.js b/war/src/main/js/add-item.js index 8fcfd5c8c7..9b692e17e2 100644 --- a/war/src/main/js/add-item.js +++ b/war/src/main/js/add-item.js @@ -15,6 +15,11 @@ var jRoot = $('head').attr('data-rooturl'); $.when(getItems()).done(function(data){ $(function() { + + // The main panel content is hidden by default via an + // inline style. We're ready to remove that now. + $('#create-item-panel').removeAttr('style'); + ////////////////////////////// // helpful reference DOM @@ -29,12 +34,7 @@ $.when(getItems()).done(function(data){ var $tabs = $('
').appendTo($newView); var $categories = $('
').appendTo($newView); var $subBtn = $('#bottom-sticker .yui-submit-button'); - var sectionsToShow = []; - - //////////////////////////////// - // mark page for layout - $('body').addClass('add-item main-panel-only'); - + var sectionsToShow = []; //////////////////////////////// // submit button click