Skip to content

Commit

Permalink
show apply button only when needed. no DB error.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgarrigos committed Oct 20, 2024
1 parent a6a24b0 commit 487914b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion references_dialog.module
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ function references_dialog_get_views_search_links($attachable) {
function references_dialog_preprocess_page(&$variables) {

if (references_dialog_in_dialog()) {
unset($variables['page_bottom']);
$variables['page'] = '<div id="references-dialog-page">' . $variables['page'] . '</div>';
backdrop_add_js('file', '/js/search-reference.js',);
}
Expand Down
2 changes: 0 additions & 2 deletions views/references_dialog_plugin_display.inc
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ class references_dialog_plugin_display extends views_plugin_display {
return $items;
}

function uses_exposed() { return TRUE; }

/**
* Override references_plugin_display, and
* allow for other style types.
Expand Down

0 comments on commit 487914b

Please sign in to comment.