Skip to content

Commit

Permalink
Fix #11817: Toggleswitch move to components css/js (#11821)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Apr 25, 2024
1 parent 6fc0169 commit 72340c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion primefaces/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@
<include>terminal/**</include>
<include>texteditor/**</include>
<include>timeline/**</include>
<include>toggleswitch/**</include>
</includes>
<aggregations>
<aggregation>
Expand Down Expand Up @@ -678,6 +677,7 @@
<include>staticmessage/staticmessage.css</include>
<include>dataview/dataview.css</include>
<include>datepicker/datepicker.css</include>
<include>toggleswitch/toggleswitch.css</include>
</includes>
<aggregations>
<aggregation>
Expand Down Expand Up @@ -798,6 +798,7 @@
<include>scrolltop/scrolltop.js</include>
<include>sidebar/sidebar.js</include>
<include>dataview/dataview.js</include>
<include>toggleswitch/toggleswitch.js</include>
</includes>
<aggregations>
<aggregation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@
import org.primefaces.util.MapBuilder;

@ResourceDependency(library = "primefaces", name = "components.css")
@ResourceDependency(library = "primefaces", name = "toggleswitch/toggleswitch.css")
@ResourceDependency(library = "primefaces", name = "jquery/jquery.js")
@ResourceDependency(library = "primefaces", name = "core.js")
@ResourceDependency(library = "primefaces", name = "components.js")
@ResourceDependency(library = "primefaces", name = "toggleswitch/toggleswitch.js")
public class ToggleSwitch extends ToggleSwitchBase {

public static final String COMPONENT_TYPE = "org.primefaces.component.ToggleSwitch";
Expand Down

0 comments on commit 72340c0

Please sign in to comment.