]> source.dussan.org Git - vaadin-framework.git/commitdiff
read only flag no does NOT imply "i-disabled" classname (grey color)
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 26 Nov 2007 08:54:41 +0000 (08:54 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 26 Nov 2007 08:54:41 +0000 (08:54 +0000)
svn changeset:2932/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java

index 035b62efa9eb5fba5b9f3728b5f578bab61fac07..5671fa34fd04bd9a52c1303ce7056b34fab2b267 100755 (executable)
@@ -501,8 +501,6 @@ public class ApplicationConnection {
         boolean enabled = true;
         if (uidl.hasAttribute("disabled")) {
             enabled = !uidl.getBooleanAttribute("disabled");
-        } else if (uidl.hasAttribute("readonly")) {
-            enabled = !uidl.getBooleanAttribute("readonly");
         }
         if (component instanceof FocusWidget) {
             ((FocusWidget) component).setEnabled(enabled);