[guadec-web] Updated jquery



commit d9dcd1d37239eed7e23e968b0ed9c1c353a1a791
Author: Saumya Dwivedi <saumya zero gmail com>
Date:   Sun Jul 6 18:00:04 2014 +0530

    Updated jquery

 guadec/js/calculate-total.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/guadec/js/calculate-total.js b/guadec/js/calculate-total.js
index 40267f4..a057147 100644
--- a/guadec/js/calculate-total.js
+++ b/guadec/js/calculate-total.js
@@ -63,8 +63,8 @@ function callAccomCalculate() {
 }
 function enableDisableA(obj) {
        if ($(obj).is(":checked")) {
-               $("#arrive").prop("disabled", false);
-               $("#depart").prop("disabled", false);
+               $("[name=arrival]").prop("disabled", false);
+               $("[name=departure]").prop("disabled", false);
                $('[name=bday]').prop("disabled", false);
                $("[name=sponsored]").prop("disabled", false);
                $("[name=student]").prop("disabled", false);
@@ -72,8 +72,8 @@ function enableDisableA(obj) {
 
        }
        else {
-               $("#arrive").prop("disabled", true);
-               $("#depart").prop("disabled", true);
+               $("[name=arrival]").prop("disabled", true);
+               $("[name=departure]").prop("disabled", true);
                $("[name=bday]").prop("disabled", true);
                $("[name=sponsored]").prop("disabled", true);
                $("[name=student]").prop("disabled", true);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]