Messages
Previous | Next
Main > Feedback [Edit Transaction JS bug]
support
Administrator
Re:Edit Transaction JS bug
Thank you for the feedback. We have updated the code to allow you to enter or update using the "&" symbol in the text.
01/17/2006 04:33:16
Jon
User
Re:Edit Transaction JS bug
hey guy. nice work. i can edit transactions now so thanks! Another thing, if you are using XML/URL vars for this you will want to escape an amperesand '&' in titles/descriptions.

For example, putting a payee as 'Bed, Bath & Beyond' shows up as 'Bed, Bath, '.

thx.

jc
01/17/2006 11:00:33
support
Administrator
Re:Edit Transaction JS bug
Thank you for helping us track down this issue. We have modified the My Transactions page to now pull the edit page using AJAX to pre-populate your data instead of relying on javascript functions. We will add the style sheet being W3C compliant to our list of bugs. We appreciate your support! Please let us know if you still have any issues updating your transactions
01/13/2006 03:03:15
Jon
User
Re:Edit Transaction JS bug
I tried the workaround you mentioned and I can see the form fields populated. However, when saving them they don't actually save to the db.

I see this error in addition to the common CSS errors in style.php:

Error: unterminated string literal
Source File: https://secure.budgettracker.com/transactionsall.php?hostname=budgettracker.com&sp=updatetrans
Line: 2271, Column: 18
Source Code:
transarray[18692]="VW Credit|308.01|01/01/2006|0|0|0|3662|17765|December payment

this is the source listing it gives me for the error:

function handleInfo_transactionsmain() {

if(http.readyState == 1) {
transactionfrm.tpayto.focus();
}
if(http.readyState == 4) {
var response = http.responseText;
tID.style.display='';
document.getElementById('transactionsmain').innerHTML = response;
getjsArray2();
closeajax();
}
}
01/13/2006 12:45:33
Jon
User
Re:Edit Transaction JS bug
Hey guys,

thx for the workaround and the progress.

This is the error i receive now:

Error: transarray[x] has no properties
Source File: https://secure.budgettracker.com/transactionsall.php?hostname=budgettracker.com
Line: 2069

I became a paying customer by the way. :D

thx.

jc
01/13/2006 12:38:07
support
Administrator
Re:Edit Transaction JS bug
We have completed updating the My Transactions page. Please check firefox 1.5 on the mac and let us know if you're still having problems updating. We will also start looking into any other pages on the site that have this same issue. Please feel free to post any other pages you see that has this same problem.
01/05/2006 04:49:39
support
Administrator
Re:Edit Transaction JS bug
Thank you for the detailed explanation. We are currently looking into correcting this issue. Until this is fixed, one workaround would be to click the Transactions Forecast link. This will take you to a page that has all your Bills and Transactions combined. When clicking on a Transaction link from here, this will take you to the edit transactions page instead of dynamically editing the transaction using javascript.
01/05/2006 02:12:19
Jon
User
Edit Transaction JS bug
When trying to edit a transaction from the My Transactions tab, I click the pencil next to my transaction which calls this function:

function updatetrans(x){
transactiontable.style.display='none';
updatetransactions.style.display='';
document.getElementById('transactionupdate_div').innerHTML = "";
updatetransform.transid.value=x;
newtransarray=transarray[x].split("|");
updatetransform.transname.value=newtransarray[0];
updatetransform.transamount.value=newtransarray[1];
updatetransform.transdate.value=newtransarray[2];
updatetransform.type[newtransarray[3]].selected=true;
if(newtransarray[4]==1){
updatetransform.expense.checked=true;

And throws this error:

Error: transarray[x] has no properties
Source File: https://secure.budgettracker.com/transactionsall.php?hostname=budgettracker.com
Line: 1417

I am using Firefox 1.5 on Mac OS X.

One reason for this is that the DOM reference to 'transactiontable' is not using the w3c compliant syntax such as 'document.transactiontable' or document.getElementById('transactiontable'). Just a possibility. :D
thx for a great service!

jc
01/05/2006 11:12:27





© 2003-2025 BudgetTracker, Inc. All Rights Reserved.