diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php index 933c97847..b76cb6c9e 100644 --- a/views/bootstrap/class.AddDocument.php +++ b/views/bootstrap/class.AddDocument.php @@ -99,10 +99,10 @@ $(document).ready(function() { }, rules: { 'userfile[]': { - alternatives: [$('#dropfolderfileform1'), $('#choosedocsearch')] + alternatives: [$('#dropfolderfileform1'), $('#choosedocsearchform1')] }, dropfolderfileform1: { - alternatives: [$(".btn-file input"), $('#choosedocsearch')] + alternatives: [$(".btn-file input"), $('#choosedocsearchform1')] } }, messages: { diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 552e47108..931d48274 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1122,7 +1122,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $folderid = $folder->getID(); print "getID() : "") ."\">"; print "
\n"; - print "getName()) : "") ."\" placeholder=\"".getMLText('type_to_search')."\" autocomplete=\"off\" />"; + print "getName()) : "") ."\" placeholder=\"".getMLText('type_to_search')."\" autocomplete=\"off\" />"; print "".getMLText("document")."…\n"; print "
\n"; ?> @@ -1145,7 +1145,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; ?> function documentSelected(id, name) { $('#docid').val(id); - $('#choosedocsearch').val(name); + $('#choosedocsearch').val(name); $('#docChooser').modal('hide'); } function folderSelected(id, name) {