Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 206123 Details for
Bug 361051
Single Text/Combo shows multiline text in WebKit browsers under some constellation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
possible fix
WebkitTextFix.patch (text/plain), 1.71 KB, created by
Tim Buschtoens
on 2011-10-28 06:20:39 EDT
(
hide
)
Description:
possible fix
Filename:
MIME Type:
Creator:
Tim Buschtoens
Created:
2011-10-28 06:20:39 EDT
Size:
1.71 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt >Index: js/qx/ui/form/TextField.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/js/qx/ui/form/TextField.js,v >retrieving revision 1.5 >diff -u -r1.5 TextField.js >--- js/qx/ui/form/TextField.js 25 Oct 2011 10:05:20 -0000 1.5 >+++ js/qx/ui/form/TextField.js 28 Oct 2011 10:17:42 -0000 >@@ -851,23 +851,30 @@ > * @type member > * @signature function() > */ >- _afterAppear : qx.core.Variant.select("qx.client", >- { >- "mshtml" : function() >- { >- this.base(arguments); >- >- if (!this._firstInputFixApplied && this._inputElement) { >- qx.client.Timer.once(this._ieFirstInputFix, this, 1); >+ _afterAppear : qx.core.Variant.select( "qx.client", { >+ "mshtml" : function() { >+ this.base( arguments ); >+ if( !this._firstInputFixApplied && this._inputElement ) { >+ qx.client.Timer.once( this._ieFirstInputFix, this, 1 ); > } > this._centerFieldVertically(); > }, >- > "default" : function() { >- this.base(arguments); >+ this.base( arguments ); > this._centerFieldVertically(); >+ }, >+ "webkit" : function() { >+ this.base( arguments ); >+ this._centerFieldVertically(); >+ qx.client.Timer.once( this._webkitAppearFix, this, 1 ); > } >- }), >+ } ), >+ >+ _webkitAppearFix : function() { >+ if( this._inputElement ) { >+ this._inputElement.value = this._inputElement.value; >+ } >+ }, > > _centerFieldVertically : function() { > if( this._inputTag === "input" && this._inputElement ) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 361051
:
206123
|
206125
|
206134