Skip to content
Browse files

Fixing Addfile in Frontendupload. Didn't show the saved value when ed…

…iting
  • Loading branch information...
1 parent 939fa90 commit c26eda4d46d809ef40b88799399686c44f2fbfe5 @Bakual committed
View
2 SermonSpeaker4.0/com_sermonspeaker/site/views/frontendupload/tmpl/default.php
@@ -114,7 +114,7 @@ function submitbutton(task)
<div class="formelm">
<?php echo $this->form->getLabel('addfile'); ?>
<input type="radio" name="sel3" value="0" onclick="enableElement(this.form.elements['jform_addfile_text'], this.form.elements['jform_addfile']);" checked>
- <input class="inputbox" type="text" name="jform[addfile]" id="jform_addfile_text" size="47" maxlength="250" value="" /><br />
+ <input class="inputbox" type="text" name="jform[addfile]" id="jform_addfile_text" size="47" maxlength="250" value="<?php echo $this->form->getValue('addfile'); ?>" /><br />
<label>&nbsp;</label>
<input type="radio" name="sel3" value="1" onclick="enableElement(this.form.elements['jform_addfile'], this.form.elements['jform_addfile_text']);">
<?php echo $this->form->getInput('addfile'); ?>

0 comments on commit c26eda4

Please sign in to comment.
Something went wrong with that request. Please try again.