1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Fix for filepicker() not displaying the chosen file after selection.

This commit is contained in:
Cameron
2013-11-01 19:00:27 -07:00
parent 611d469eed
commit f1ad895101
2 changed files with 9 additions and 3 deletions

View File

@@ -573,7 +573,7 @@ class media_form_ui extends e_admin_form_ui
// File Picker.
if($_GET['action'] == 'dialog')
{
$text = "<input type='button' value='Select' data-placement='left' class='e-media-select e-dialog-save e-dialog-close btn btn-primary btn-large' data-id='{$id}' data-name=\"".$title."\" data-target='{$tagid}' data-bbcode='{$bbcode}' data-path='{$path}' data-preview='{$preview}' title=\"".$title."\" />";
$text = "<input type='button' value='Select' data-placement='left' class='e-media-select e-dialog-save e-dialog-close btn btn-primary btn-large' data-id='{$id}' data-name=\"".$title."\" data-type='file' data-target='{$tagid}' data-bbcode='{$bbcode}' data-path='{$path}' data-preview='{$preview}' title=\"".$title."\" />";
}
$text .= $this->renderValue('options',$value,'',$id);