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
|
@ -19,9 +19,11 @@ class UserController extends Zend_Controller_Action
|
|||
|
||||
public function addUserAction()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/js/datatables/js/jquery.dataTables.js','text/javascript');
|
||||
$this->view->headScript()->appendFile('/js/airtime/user/user.js','text/javascript');
|
||||
$request = $this->getRequest();
|
||||
$baseUrl = $request->getBaseUrl();
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/datatables/js/jquery.dataTables.js','text/javascript');
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/user/user.js','text/javascript');
|
||||
|
||||
$form = new Application_Form_AddUser();
|
||||
|
||||
$this->view->successMessage = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue