Skip to content

Commit

Permalink
replacing (") with (') which was causing a js error when the value of…
Browse files Browse the repository at this point in the history
… the select was changed
  • Loading branch information
Thierry Bela Nanga committed Nov 23, 2011
1 parent 7a2c501 commit bf125d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_media/models/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function getFolderList($base = null)
$author = $input->get('author', 0, 'integer');

// Create the drop-down folder select list
$list = JHtml::_('select.genericlist', $options, 'folderlist', 'class="inputbox" size="1" onchange="ImageManager.setFolder(this.options[this.selectedIndex].value, "'.$asset.'","'.$author.'")" ', 'value', 'text', $base);
$list = JHtml::_('select.genericlist', $options, 'folderlist', 'class="inputbox" size="1" onchange="ImageManager.setFolder(this.options[this.selectedIndex].value, \''.$asset.'\',\''.$author.'\')" ', 'value', 'text', $base);

return $list;
}
Expand Down

0 comments on commit bf125d0

Please sign in to comment.