Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Prototype JavaScript framework - Bugs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-11-2007, 10:42 AM
 
luxor luxor is offline
 

Senior Member
  
Join Date: Apr 2007
Posts: 120
 

Default Prototype JavaScript framework - Bugs

Hi, I had added some javascript fade effects on certain parts of my store, but am running into a problem on the product page, for when you have a product variant exception, the error message is no longer appearing, (i.e. Sorry, this combination of product options is not available.!" ) once i have the javascript file included.

I have narrowed down the code to one js file, for which i will include the code here. I need assistance in locating what in this file is causing x-cart to break. I have had 3 seperate developers work on it without success, so I am really trying a lot of trial and error. But if you can review the code and see if anything sticks out to you as a possible bug, it would be very helpful.

the javascript file is here:

http://66.219.52.218/xcart/prototype.js
__________________
v4.1.8 GOLD
Reply With Quote
  #2  
Old 09-11-2007, 11:37 AM
 
luxor luxor is offline
 

Senior Member
  
Join Date: Apr 2007
Posts: 120
 

Default Re: Prototype JavaScript framework - Bugs

i found the single function which is causing the error. when this is included, the product exception feature stops working. when excluding, it works.

does anybody recognize a function like this in xcart that may cause a clash?


Code:
dispatchException: function(exception) { (this.options.onException || Prototype.emptyFunction)(this, exception); Ajax.Responders.dispatch('onException', this, exception); } });
__________________
v4.1.8 GOLD
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:18 AM.

   

 
X-Cart forums © 2001-2020