set class of modal box link

This commit is contained in:
Uwe Steinmann 2021-05-06 14:33:24 +02:00
parent 75d033d73c
commit f48bdb1280

View File

@ -1565,6 +1565,7 @@ function folderSelected<?php echo $formid ?>(id, name) {
array(
'target' => 'folderChooser'.$formid,
'remote' => "../out/out.FolderChooser.php?form=".$formid."&mode=".$accessMode."&exclude=".$exclude,
'class' => 'btn btn-secondary',
'title' => getMLText('folder').'…'
));
}
@ -1639,6 +1640,7 @@ $(document).ready(function() {
array(
'target' => 'keywordChooser',
'remote' => "../out/out.KeywordChooser.php?target=".$formName,
'class' => 'btn btn-secondary',
'title' => getMLText('keywords').'…'
));
$content .= '
@ -1902,6 +1904,7 @@ $(document).ready(function() {
array(
'target' => 'dropfolderChooser',
'remote' => "../out/out.DropFolderChooser.php?form=".$formName."&dropfolderfile=".urlencode($dropfolderfile)."&showfolders=".$showfolders,
'class' => 'btn btn-secondary',
'title' => ($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file")).'…'
));
$content .= "</div>\n";