From b5a547252aca63ae315d3a2d7efae0841c22e755 Mon Sep 17 00:00:00 2001
From: Ghislain Loas <ghislo@sandbox.pergame.net>
Date: Wed, 31 Aug 2016 09:42:55 +0200
Subject: [PATCH] hotline #47285 fix

---
 VERSIONS_HOTLINE/47285                                      | 1 +
 .../modules/opac/controllers/RechercheController.php        | 6 +-----
 2 files changed, 2 insertions(+), 5 deletions(-)
 create mode 100644 VERSIONS_HOTLINE/47285

diff --git a/VERSIONS_HOTLINE/47285 b/VERSIONS_HOTLINE/47285
new file mode 100644
index 00000000000..3d4eb1e92fd
--- /dev/null
+++ b/VERSIONS_HOTLINE/47285
@@ -0,0 +1 @@
+ - ticket #47285 : Impossible d'effectuer des réservations en ligne
\ No newline at end of file
diff --git a/application/modules/opac/controllers/RechercheController.php b/application/modules/opac/controllers/RechercheController.php
index 5de230f9983..a0ab1e19d40 100644
--- a/application/modules/opac/controllers/RechercheController.php
+++ b/application/modules/opac/controllers/RechercheController.php
@@ -700,11 +700,7 @@ class RechercheController extends ZendAfi_Controller_Action {
       ->addElement('Radio', 'code_annexe', ['required' => true,
                                             'allowEmpty' => false])
 
-      ->addDisplayGroup(['code_annexe'], 'group', ['legend' => 'Site de retrait'])
-
-      ->addElement('Submit', 'Valider')
-      ->addElement('Button', 'Annuler',
-                   ['onclick' => 'opacDialogClose();return false;']);
+      ->addDisplayGroup(['code_annexe'], 'group', ['legend' => 'Site de retrait']);
   }
 
 
-- 
GitLab