Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
a6bf107e
Commit
a6bf107e
authored
15 years ago
by
buczekp
Browse files
Options
Downloads
Patches
Plain Diff
fixed 'jumping' filter fields in firefox
SVN: 12796
parent
b8a3eb16
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/filter/FilterToolbar.java
+2
-3
2 additions, 3 deletions
...lient/web/client/application/ui/filter/FilterToolbar.java
with
2 additions
and
3 deletions
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/filter/FilterToolbar.java
+
2
−
3
View file @
a6bf107e
...
@@ -63,7 +63,8 @@ public class FilterToolbar<T> extends ToolBar implements IDatabaseModificationOb
...
@@ -63,7 +63,8 @@ public class FilterToolbar<T> extends ToolBar implements IDatabaseModificationOb
filterSelectionWidget
=
filterSelectionWidget
=
new
FilterSelectionWidget
(
viewContext
,
gridId
,
displayTypeIDProvider
);
new
FilterSelectionWidget
(
viewContext
,
gridId
,
displayTypeIDProvider
);
filterContainer
=
new
LayoutContainer
(
new
FillLayout
(
Orientation
.
HORIZONTAL
));
filterContainer
=
new
LayoutContainer
(
new
FillLayout
(
Orientation
.
HORIZONTAL
));
AdapterToolItem
filterTool
=
new
AdapterToolItem
(
filterSelectionWidget
);
filterContainer
.
setLayoutOnChange
(
true
);
// fixes jumping filter fields in firefox
AdapterToolItem
filterTool
=
new
AdapterToolItem
(
filterSelectionWidget
);
add
(
filterTool
);
add
(
filterTool
);
add
(
new
AdapterToolItem
(
filterContainer
));
add
(
new
AdapterToolItem
(
filterContainer
));
applyTool
=
new
TextToolItem
(
viewContext
.
getMessage
(
Dict
.
APPLY_FILTER
));
applyTool
=
new
TextToolItem
(
viewContext
.
getMessage
(
Dict
.
APPLY_FILTER
));
...
@@ -145,7 +146,6 @@ public class FilterToolbar<T> extends ToolBar implements IDatabaseModificationOb
...
@@ -145,7 +146,6 @@ public class FilterToolbar<T> extends ToolBar implements IDatabaseModificationOb
Filter
filter
=
filterSelectionWidget
.
tryGetSelected
();
Filter
filter
=
filterSelectionWidget
.
tryGetSelected
();
if
(
filter
!=
null
)
if
(
filter
!=
null
)
{
{
// TODO try to remove container and add a new one
filterContainer
.
removeAll
();
filterContainer
.
removeAll
();
if
(
filter
.
getName
().
equals
(
Filter
.
COLUMN_FILTER
))
if
(
filter
.
getName
().
equals
(
Filter
.
COLUMN_FILTER
))
{
{
...
@@ -160,7 +160,6 @@ public class FilterToolbar<T> extends ToolBar implements IDatabaseModificationOb
...
@@ -160,7 +160,6 @@ public class FilterToolbar<T> extends ToolBar implements IDatabaseModificationOb
filterContainer
.
add
(
new
CustomFilterParameterWidget
(
parameter
));
filterContainer
.
add
(
new
CustomFilterParameterWidget
(
parameter
));
}
}
}
}
filterContainer
.
layout
();
// TODO move?
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment