mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
set share dialog text fields to read only
This commit is contained in:
parent
77e565426a
commit
dc4aaeda0a
@ -67,6 +67,10 @@ public class ShareDialog extends Dialog implements LocaleChangeObserver {
|
|||||||
latexArea.setClassName(FIELD_CLASS);
|
latexArea.setClassName(FIELD_CLASS);
|
||||||
UI.getCurrent().getPage().executeJs("window.autoSelect($0)", FIELD_CLASS);
|
UI.getCurrent().getPage().executeJs("window.autoSelect($0)", FIELD_CLASS);
|
||||||
|
|
||||||
|
urlField.setReadOnly(true);
|
||||||
|
packageArea.setReadOnly(true);
|
||||||
|
latexArea.setReadOnly(true);
|
||||||
|
|
||||||
layout.add(urlField, packageArea, latexArea);
|
layout.add(urlField, packageArea, latexArea);
|
||||||
|
|
||||||
add(headingLayout, layout);
|
add(headingLayout, layout);
|
||||||
|
Loading…
Reference in New Issue
Block a user