From f921022f751ab59ee6d5665627def9d372267c60 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Wed, 22 Jun 2022 15:45:51 -0400 Subject: [PATCH] Provide an 'unimplemented' alert for the search (CFM-174) --- app/templates/element/searchGlobal.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/templates/element/searchGlobal.php b/app/templates/element/searchGlobal.php index 1dfde387c..219630f52 100644 --- a/app/templates/element/searchGlobal.php +++ b/app/templates/element/searchGlobal.php @@ -26,11 +26,18 @@ */ $options = array( - 'type' => 'get', + // XXX Re-enable and adjust the following when we are ready to implement the search feature + /*'type' => 'get', 'url' => array( 'plugin' => null, 'action' => 'search' - ) + )*/ + // XXX For now, note that this feature is unimplemented + 'type' => 'get', + 'url' => array( + 'plugin' => null + ), + 'onsubmit' => 'alert("unimplemented"); return false;' ); print $this->Form->create(null, $options);