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