From a691c9628cebfc858e33d824c710d2d76cce278c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 17 Feb 2016 11:38:32 +0100 Subject: [PATCH] remove extra variable in print[Document|Folder]ChooserJs() for modal form --- views/bootstrap/class.Bootstrap.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 566df6494..e72ac94db 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -892,11 +892,10 @@ $(document).ready(function () { function printDocumentChooserJs($formName) { /* {{{ */ ?> -modalDocChooser = $('#docChooser'); function documentSelected(id, name) { $('#docid').val(id); $('#choosedocsearch').val(name); - modalDocChooser.modal('hide'); + $('#docChooser').modal('hide'); } function folderSelected(id, name) { } @@ -938,11 +937,10 @@ function folderSelected(id, name) { function printFolderChooserJs($formName) { /* {{{ */ ?> -modalFolderChooser = $('#folderChooser'); function folderSelected(id, name) { $('#targetid').val(id); $('#choosefoldersearch').val(name); - modalFolderChooser.modal('hide'); + $('#folderChooser').modal('hide'); }