mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
remove duplicate class 'alert-warning' in drag&drop box for attachments
This commit is contained in:
parent
6fd8d3e7f5
commit
6c6b754e52
|
@ -1548,7 +1548,7 @@ $(document).ready( function() {
|
|||
if ($document->getAccessMode($user) >= M_READWRITE){
|
||||
if($enableDropUpload){
|
||||
?>
|
||||
<div id="draganddrophandler" class="well alert alert-warning" data-droptarget="attachment_<?= $document->getID(); ?>" data-target="<?= $document->getID(); ?>" data-uploadformtoken="<?= createFormKey('addfile'); ?>"><?php echo $this->html_link('AddFile', array('documentid'=>$documentid), array('class'=>'alert alert-warning'), getMLText('drop_files_here_or_click'), false, true); ?></div>
|
||||
<div id="draganddrophandler" class="well alert alert-warning" data-droptarget="attachment_<?= $document->getID(); ?>" data-target="<?= $document->getID(); ?>" data-uploadformtoken="<?= createFormKey('addfile'); ?>"><?php echo $this->html_link('AddFile', array('documentid'=>$documentid), array(), getMLText('drop_files_here_or_click'), false, true); ?></div>
|
||||
<?php
|
||||
} else {
|
||||
print $this->html_link('AddFile', array('documentid'=>$documentid), array('class'=>'btn btn-primary'), getMLText("add"), false, true)."\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user