News:

Support the VirtueMart project and become a member

Main Menu

Javascript error in virtuemart 1.1.0 backend administration

Started by DDPaul, July 12, 2008, 04:03:07 AM

Previous topic - Next topic

DDPaul

In the backend administration when clicking on the cancel button I often get a Javascript error that prevents the operation from completing. This happens when using IE7/VISTA to administer virtuemart 1.1.0. Example pages where this consistently occurs are:

The store information page (http://localhost/joomla15/administrator/index.php?pshop_mode=admin&page=store.store_form&option=com_virtuemart)
and
The product type information page (http://localhost/joomla15/administrator/index.php?pshop_mode=admin&page=product.product_type_form&option=com_virtuemart)
This is not a complete list.

IE7 indicates that the javascript function being run is javascript:vm_submitButton('cancel','adminForm','store.index')

This function consistently runs successfully on pages like
The export module form (http://localhost/joomla15/administrator/index.php?pshop_mode=admin&page=store.export_form&option=com_virtuemart) which invokes the function as
javascript:vm_submitButton('cancel','adminForm','store.export_list')

The only difference between the successful and failed invocation of this function is in the third argument supplied to the function. Additionally, on other pages the function annoyingly logs the user out. That's as far as I have been able to track the bug. Haven't tested this on other browser/operating system combinations.

DDPaul