CC-2184 : Hardcoded CSS path should be relative path instead
using baseURL zend provides in path.
This commit is contained in:
parent
114fe1ad3f
commit
23105b9d67
12 changed files with 111 additions and 99 deletions
|
@ -10,9 +10,10 @@ class PreferenceController extends Zend_Controller_Action
|
|||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/js/airtime/preferences/preferences.js','text/javascript');
|
||||
|
||||
$request = $this->getRequest();
|
||||
$baseUrl = $request->getBaseUrl();
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/preferences/preferences.js','text/javascript');
|
||||
$this->view->statusMsg = "";
|
||||
|
||||
$form = new Application_Form_Preferences();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue