Added missing base directory to urls

This commit is contained in:
denise 2013-01-10 13:58:11 -05:00
parent 2797809c74
commit dffe932223
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ class Application_Form_RegisterAirtime extends Zend_Form
public function init() public function init()
{ {
$this->setAction('/Showbuilder'); $this->setAction(Application_Common_OsPath::getBaseDir().'/Showbuilder');
$this->setMethod('post'); $this->setMethod('post');
$country_list = Application_Model_Preference::GetCountryList(); $country_list = Application_Model_Preference::GetCountryList();

View file

@ -171,7 +171,7 @@ AIRTIME = (function(AIRTIME) {
schedTable.fnDraw(); schedTable.fnDraw();
$.ajax( { $.ajax( {
url : "/usersettings/set-now-playing-screen-settings", url : baseUrl+"/usersettings/set-now-playing-screen-settings",
type : "POST", type : "POST",
data : { data : {
settings : { settings : {
@ -197,7 +197,7 @@ AIRTIME = (function(AIRTIME) {
schedTable.fnDraw(); schedTable.fnDraw();
$.ajax( { $.ajax( {
url : "/usersettings/set-now-playing-screen-settings", url : baseUrl+"/usersettings/set-now-playing-screen-settings",
type : "POST", type : "POST",
data : { data : {
settings : { settings : {
@ -271,7 +271,7 @@ AIRTIME = (function(AIRTIME) {
$.ajax( { $.ajax( {
"dataType" : "json", "dataType" : "json",
"type" : "GET", "type" : "GET",
"url" : "/showbuilder/check-builder-feed", "url" : baseUrl+"/showbuilder/check-builder-feed",
"data" : data, "data" : data,
"success" : function(json) { "success" : function(json) {
if (json.update === true) { if (json.update === true) {