CC-4879: Pop-up HTML Audio Player still seems to be changing spaces to %20 and so on...

-fixed
This commit is contained in:
denise 2013-01-25 12:44:20 -05:00
parent c14d1fcfac
commit a6f4805e1a
1 changed files with 4 additions and 2 deletions

View File

@ -60,8 +60,10 @@ class AudiopreviewController extends Zend_Controller_Action
$this->view->uri = $uri;
$this->view->mime = $mime;
$this->view->audioFileID = $audioFileID;
$this->view->audioFileArtist = $audioFileArtist;
$this->view->audioFileTitle = $audioFileTitle;
// We need to decode artist and title because it gets
// encoded twice in js
$this->view->audioFileArtist = urldecode($audioFileArtist);
$this->view->audioFileTitle = urldecode($audioFileTitle);
$this->view->type = $type;
$this->_helper->viewRenderer->setRender('audio-preview');