From 3e3dff31a83ba44a44fd6a741fd5d22fd98cab00 Mon Sep 17 00:00:00 2001 From: abijah Date: Mon, 7 Sep 2009 17:04:34 +0000 Subject: [PATCH] I believe the bug Shirley has been seeing is finally fixed. The problem is that an extra comma at the end of a javascript object literal blows up in IE7. FF and IE8 both handle it fine, which is why we hadn't noticed. Hopefully, this change includes all areas which had the extra comma. git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@842 97e9348a-65ac-dc4b-aefc-98561f571b83 --- site/views/customers/receipt.ctp | 6 +-- site/views/elements/sidemenu.ctp | 4 +- site/views/leases/invoice.ctp | 78 ++++---------------------------- 3 files changed, 14 insertions(+), 74 deletions(-) diff --git a/site/views/customers/receipt.ctp b/site/views/customers/receipt.ctp index 0d8c8f9..6e6f41e 100644 --- a/site/views/customers/receipt.ctp +++ b/site/views/customers/receipt.ctp @@ -25,12 +25,12 @@ Configure::write('debug', '0'); beforeSubmit: verifyRequest, // pre-submit callback success: showResponse, // post-submit callback - url: "url(array('controller' => 'transactions', - 'action' => 'postReceipt', 0)); ?>", - // other available options: //clearForm: true, // clear all form fields after successful submit //resetForm: true, // reset the form after successful submit + + url: "url(array('controller' => 'transactions', + 'action' => 'postReceipt', 0)); ?>" }; // bind form using 'ajaxForm' diff --git a/site/views/elements/sidemenu.ctp b/site/views/elements/sidemenu.ctp index 093d251..806844d 100644 --- a/site/views/elements/sidemenu.ctp +++ b/site/views/elements/sidemenu.ctp @@ -74,9 +74,9 @@ jQuery(document).ready(function(){ jQuery("#sidemenu").accordion ({ fillSpace : true, event : "click hoverintent", - animated : "bounceslide", + animated : "bounceslide" JSCB -. (isset($active_section) ? "\tactive : $active_section,\n" : '') . +. (isset($active_section) ? ",\n\t active : $active_section\n" : '') . <<