Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
328 changes: 0 additions & 328 deletions common/js/jquery.quicksearch.js

This file was deleted.

3 changes: 0 additions & 3 deletions edit_flow.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,6 @@ function register_scripts_and_styles() {
'all' => esc_html__( 'All', 'edit-flow' ),
'selected' => esc_html__( 'Selected', 'edit-flow' ),
) );

wp_register_script( 'jquery-quicksearch', EDIT_FLOW_URL . 'common/js/jquery.quicksearch.js', array( 'jquery' ), EDIT_FLOW_VERSION, true );

}

}
Expand Down
3 changes: 1 addition & 2 deletions modules/notifications/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ function enqueue_admin_scripts() {

if ( $this->is_whitelisted_functional_view() ) {
wp_enqueue_script( 'jquery-listfilterizer' );
wp_enqueue_script( 'jquery-quicksearch' );
wp_enqueue_script( 'edit-flow-notifications-js', $this->module_url . 'lib/notifications.js', array( 'jquery', 'jquery-listfilterizer', 'jquery-quicksearch' ), EDIT_FLOW_VERSION, true );
wp_enqueue_script( 'edit-flow-notifications-js', $this->module_url . 'lib/notifications.js', array( 'jquery', 'jquery-listfilterizer' ), EDIT_FLOW_VERSION, true );
wp_localize_script(
'edit-flow-notifications-js',
'ef_notifications_localization',
Expand Down
8 changes: 1 addition & 7 deletions modules/user-groups/lib/user-groups.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
jQuery(document).ready(function () {
jQuery('ul#ef-post_following_users li').quicksearch({
position: 'before',
attached: 'ul#ef-post_following_users',
loaderText: '',
delay: 100
})
jQuery('#ef-usergroup-users ul').listFilterizer();
});
});
3 changes: 1 addition & 2 deletions modules/user-groups/user-groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ function enqueue_admin_scripts() {

if ( $this->is_whitelisted_functional_view() || $this->is_whitelisted_settings_view( $this->module->name ) ) {
wp_enqueue_script( 'jquery-listfilterizer' );
wp_enqueue_script( 'jquery-quicksearch' );
wp_enqueue_script( 'edit-flow-user-groups-js', $this->module_url . 'lib/user-groups.js', array( 'jquery', 'jquery-listfilterizer', 'jquery-quicksearch' ), EDIT_FLOW_VERSION, true );
wp_enqueue_script( 'edit-flow-user-groups-js', $this->module_url . 'lib/user-groups.js', array( 'jquery', 'jquery-listfilterizer' ), EDIT_FLOW_VERSION, true );
}

if ( $this->is_whitelisted_settings_view( $this->module->name ) )
Expand Down