Object Expected Error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
wilhud
Lieutenant (LT)
Lieutenant (LT)
Posts: 66
Joined: Mon Mar 30, 2009 7:44 pm

Object Expected Error

Post by wilhud » Tue Oct 26, 2010 1:06 pm

When choosing a swatch in the Admin's Place Order page, we get this error...
Webpage error details

Message: Object expected
Line: 41
Char: 1
Code: 0
URI: Admin/Orders/PlaceOrder1.aspx
When viewing source to see what line 41 is, the code is as follows...

Code: Select all

//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
As a result, admins cannot place items that use swatches into the cart in the back end. Anyone know what this might be and how I would correct it?

I am using AbleCommerce 7.0.2 build 11659

Thanks,
Wil

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Object Expected Error

Post by mazhar » Wed Oct 27, 2010 4:38 am

Is it specific to any browser? Did you checked that using different browsers?

wilhud
Lieutenant (LT)
Lieutenant (LT)
Posts: 66
Joined: Mon Mar 30, 2009 7:44 pm

Re: Object Expected Error

Post by wilhud » Thu Oct 28, 2010 2:16 pm

Hi Mazhar,

I've just turned off swatches for now until I can resolve the issue, since our Holiday season has already started.
It's occuring in IE, but I did not test Firefox or anything else yet. I'll test that out and see.

Thanks,
Wil

Post Reply