[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9075] Changed generation of requenturl in function $
From: |
Torstein |
Subject: |
[Fmsystem-commits] [9075] Changed generation of requenturl in function $("#choose_my_location" ).change |
Date: |
Thu, 29 Mar 2012 12:50:26 +0000 |
Revision: 9075
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9075
Author: vator
Date: 2012-03-29 12:50:26 +0000 (Thu, 29 Mar 2012)
Log Message:
-----------
Changed generation of requenturl in function $("#choose_my_location").change
Modified Paths:
--------------
trunk/controller/js/controller/ajax.js
Modified: trunk/controller/js/controller/ajax.js
===================================================================
--- trunk/controller/js/controller/ajax.js 2012-03-29 12:48:22 UTC (rev
9074)
+++ trunk/controller/js/controller/ajax.js 2012-03-29 12:50:26 UTC (rev
9075)
@@ -12,16 +12,14 @@
if(period_type == 'view_month')
{
var oArgs =
{menuaction:'controller.uicalendar.view_calendar_for_month'};
- var baseUrl = phpGWLink('index.php', oArgs, true);
+ var baseUrl = phpGWLink('index.php', oArgs, false);
var requestUrl = baseUrl + "&location_code=" +
location_code + "&year=" + year + "&month=" + month;
- //var requestUrl =
"index.php?menuaction=controller.uicalendar.view_calendar_for_month&location_code="
+ location_code + "&year=" + year + "&month=" + month;
}
else
{
var oArgs =
{menuaction:'controller.uicalendar.view_calendar_for_year'};
- var baseUrl = phpGWLink('index.php', oArgs, true);
+ var baseUrl = phpGWLink('index.php', oArgs, false);
var requestUrl = baseUrl + "&location_code=" +
location_code + "&year=" + year;
- //var requestUrl =
"index.php?menuaction=controller.uicalendar.view_calendar_for_year&location_code="
+ location_code + "&year=" + year;
}
window.location.href = requestUrl;
@@ -33,7 +31,6 @@
var location_type_id = $(this).val();
var oArgs =
{menuaction:'controller.uicontrol_location.get_location_category'};
var requestUrl = phpGWLink('index.php', oArgs, true);
- //var requestUrl =
"index.php?menuaction=controller.uicontrol.get_controls_by_control_area&phpgw_return_as=json"
var htmlString = "";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9075] Changed generation of requenturl in function $("#choose_my_location" ).change,
Torstein <=