@@ -231,8 +231,8 @@ public class VUpload extends SimplePanel { | |||
} | |||
private void ensureUploadButton() { | |||
//when push got enabled, need to ensure the upload is disabled properly | |||
//check ticket #11652 | |||
// when push got enabled, need to ensure the upload is disabled properly | |||
// check ticket #11652 | |||
if (fu.getElement().getParentElement().getParentElement() | |||
.hasClassName("v-disabled")) { | |||
disableUpload(); |
@@ -7958,11 +7958,13 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, | |||
if (!event.getCell().isHeader()) { | |||
return; | |||
} | |||
int offset = 0; // apply offset depending on selection column, see #10546 | |||
int offset = 0; // apply offset depending on selection column, see | |||
// #10546 | |||
if (getSelectionColumn().isPresent()) { | |||
offset = -1; | |||
} | |||
if (event.getCell().getColumnIndex()+offset < getFrozenColumnCount()) { | |||
if (event.getCell().getColumnIndex() | |||
+ offset < getFrozenColumnCount()) { | |||
return; | |||
} | |||
@@ -63,7 +63,7 @@ abstract class. | |||
((("[classname]#AbstractListing#"))) | |||
There are three more specific types of components. | |||
<<components-fields#components.fields,"Field Components">>. | |||
Field Components:: allow user to edit a value in the UI. All extend [classname]#AbstractField#. Field components are described in detail in <<components-fields#components.fields,"Field Components">>. | |||
Selection Component:: show a list of data that the user can select from. All extend [classname]#AbstractListing#. Selection components are described in detail in | |||
<<components-selection#components.selection,"Selection Components">>. |
@@ -93,11 +93,12 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster & | |||
@Override | |||
public void updateValueWithDelay(String newDateString, | |||
Map<String, Integer> resolutions) { | |||
Map<String, Integer> resolutions) { | |||
valueUpdate(newDateString, resolutions); | |||
} | |||
private void valueUpdate(String newDateString, Map<String, Integer> resolutions) { | |||
private void valueUpdate(String newDateString, | |||
Map<String, Integer> resolutions) { | |||
Set<String> resolutionNames = getResolutions().map(Enum::name) | |||
.collect(Collectors.toSet()); | |||
resolutionNames.retainAll(resolutions.keySet()); |
@@ -972,7 +972,8 @@ public class ComboBox<T> extends AbstractSingleSelect<T> | |||
// This workaround is done to fix issue #11642 for unpaged comboboxes. | |||
// Data sources for on the client need to be updated after data provider | |||
// refreshAll so that serverside selection works even before the dropdown | |||
// refreshAll so that serverside selection works even before the | |||
// dropdown | |||
// is opened. Only done for in-memory data providers for performance | |||
// reasons. | |||
if (dataProvider instanceof InMemoryDataProvider) { |