From 7b1c51d07236686d60606d2cb6fdc5ff6d930f6b Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Tue, 15 Mar 2011 19:12:05 +0100 Subject: [PATCH] fix help button position --- scm-webapp/src/main/webapp/WEB-INF/sun-web.xml | 3 +-- scm-webapp/src/main/webapp/resources/js/sonia.help.js | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml b/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml index f9559a1b8c..4f919c1454 100644 --- a/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml +++ b/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml @@ -1,4 +1,5 @@ + - - /scm-webapp diff --git a/scm-webapp/src/main/webapp/resources/js/sonia.help.js b/scm-webapp/src/main/webapp/resources/js/sonia.help.js index 51aa5c52cc..9102280389 100644 --- a/scm-webapp/src/main/webapp/resources/js/sonia.help.js +++ b/scm-webapp/src/main/webapp/resources/js/sonia.help.js @@ -65,7 +65,11 @@ Ext.override(Ext.form.Field, { switch ( this.getXType() ){ case 'combo': - cls = 'scm-form-combo-help-button'; + if ( this.readOnly ){ + cls = 'scm-form-help-button'; + } else { + cls = 'scm-form-combo-help-button'; + } break; case 'textarea': cls = 'scm-form-textarea-help-button';