[guadec-web] Fix room type name
- From: Pascal Terjan <pterjan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Fix room type name
- Date: Mon, 14 Jul 2014 16:26:10 +0000 (UTC)
commit aee5bded7bf65acce70036cd3565691b9dbf235b
Author: Pascal Terjan <pterjan gmail com>
Date: Sun Jul 13 22:17:20 2014 +0000
Fix room type name
guadec/js/calculate-total.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/guadec/js/calculate-total.js b/guadec/js/calculate-total.js
index 32931f4..c5f2de9 100644
--- a/guadec/js/calculate-total.js
+++ b/guadec/js/calculate-total.js
@@ -7,7 +7,7 @@ function callTotalCalculate() {
$.ajax({
type: "POST",
url:"../wp-content/themes/guadec/js/calculate.php",
- data: {functionname: "updateTotal", arguments : [$("form input[value*='lunch_']:checked").size(),
$('#arrive').val(), $('#depart').val(), $('input:radio[name=entry-fee]:checked').val(),
$("[value=lunch]").prop("checked"), $("[value=accommodation]").prop("checked"), $("[value=room]").val() ]},
+ data: {functionname: "updateTotal", arguments : [$("form input[value*='lunch_']:checked").size(),
$('#arrive').val(), $('#depart').val(), $('input:radio[name=entry-fee]:checked').val(),
$("[value=lunch]").prop("checked"), $("[value=accommodation]").prop("checked"), $("[value=room_type]").val()
]},
success:function(obj, status){
result = new String(obj);
result = result.trim();
@@ -46,7 +46,7 @@ function callAccomCalculate() {
$.ajax({
type: "POST",
url:"../wp-content/themes/guadec/js/calculate.php",
- data: {functionname : "updateAccomTotal", arguments : [$('#arrive').val(),$('#depart').val(),
$("[value=accommodation]").prop("checked"), $("[value=room]").val()]},
+ data: {functionname : "updateAccomTotal", arguments : [$('#arrive').val(),$('#depart').val(),
$("[value=accommodation]").prop("checked"), $("[value=room_type]").val()]},
success:function(obj, status){
result = new String(obj);
result = result.trim();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]