Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
NEXUS-1666: tweak a bit
Browse files Browse the repository at this point in the history
git-svn-id: file:///opt/svn/repositories/sonatype.org/nexus/trunk/nexus@3683 2aa8b3fc-8ebb-4439-a84f-95066eaea8ab
  • Loading branch information
mpowers committed Mar 19, 2009
1 parent 9527c70 commit 46cbb59
Showing 1 changed file with 9 additions and 6 deletions.
Expand Up @@ -14,7 +14,6 @@
Sonatype.repoServer.ArtifactUploadPanel = function(config){
var config = config || {};
var defaultConfig = {
autoScroll:true
};
Ext.apply(this, config, defaultConfig);

Expand All @@ -31,15 +30,14 @@ Sonatype.repoServer.ArtifactUploadPanel = function(config){
} );

Sonatype.repoServer.ArtifactUploadPanel.superclass.constructor.call(this, {
autoScroll: true,
border: true,
bodyBorder: true,
border: false,
frame: true,
collapsible: false,
collapsed: false,
fileUpload: true,
width: '100%',
height: '100%',
autoScroll: true,
layoutConfig: {
labelSeparator: ''
},
Expand Down Expand Up @@ -109,7 +107,13 @@ Sonatype.repoServer.ArtifactUploadPanel = function(config){
selectOnFocus:true,
emptyText: 'Select...',
allowBlank: false,
value: 'pom'
value: 'pom',
listeners: {
select: {
fn: this.gavDefinitionSelectHandler,
scope: this
}
}
},
{
xtype: 'panel',
Expand Down Expand Up @@ -596,7 +600,6 @@ Sonatype.Events.addListener( 'repositoryViewInit', function( cardPanel, rec ) {
var gavDefComboField = p.find( 'name', 'gavDefinition' )[0];
//another hack to fix the combo box lists
gavDefComboField.syncSize();
gavDefComboField.on('select', p.items.items[0].gavDefinitionSelectHandler, p.items.items[0]);
} );
}
else {
Expand Down

0 comments on commit 46cbb59

Please sign in to comment.