fix help button position

This commit is contained in:
Sebastian Sdorra
2011-03-15 19:12:05 +01:00
parent e9fa6ae1eb
commit 7b1c51d072
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Servlet 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd">
<!--
Copyright (c) 2010, Sebastian Sdorra
@@ -31,8 +32,6 @@
-->
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Servlet 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd">
<sun-web-app error-url="">
<context-root>/scm-webapp</context-root>
<class-loader delegate="true"/>

View File

@@ -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';