Revision ecf95c9e src/gr/grnet/pithos/web/client/AbstractPropertiesDialog.java
b/src/gr/grnet/pithos/web/client/AbstractPropertiesDialog.java | ||
---|---|---|
144 | 144 |
protected abstract void accept(); |
145 | 145 |
|
146 | 146 |
@Override |
147 |
@SuppressWarnings("fallthrough") |
|
148 | 147 |
protected void onPreviewNativeEvent(NativePreviewEvent preview) { |
149 | 148 |
super.onPreviewNativeEvent(preview); |
150 | 149 |
|
... | ... | |
156 | 155 |
case KeyCodes.KEY_ENTER: |
157 | 156 |
accept(); |
158 | 157 |
case KeyCodes.KEY_ESCAPE: |
159 |
closeDialog(); |
|
160 |
break; |
|
158 |
closeDialog();
|
|
159 |
break;
|
|
161 | 160 |
} |
162 | 161 |
} |
163 | 162 |
|
Also available in: Unified diff