fixed #10110: Matrix 2.0 - "Data Error" on Pending Product Listing Updates

This commit is contained in:
Yung Han Khoe 2009-04-08 19:35:14 +00:00
parent 033889d93c
commit 87abb79331
4 changed files with 9 additions and 0 deletions

View file

@ -2,6 +2,8 @@
- fixed #10094: double explanation in thread help
- rfe #9612: Carousel Wobject (was Widget Wobject) (SDH Consulting Group)
- Survey summaries now added. In the Survey edit, select quiz mode, and a summary will be shown to the user at the end of the survey.
- fixed #10110: Matrix 2.0 - "Data Error" on Pending Product Listing Updates
7.7.2
- fixed #10056: YUI javascripts included while adminOff (BNC)
- fixed a bug that required you to hit "update cart" before the checkout

View file

@ -640,6 +640,10 @@ sub view {
$var->{manufacturerUrl_click} = $self->getUrl("func=click;manufacturer=1");
$var->{productUrl_click} = $self->getUrl("func=click");
if($self->get('status') eq 'pending'){
$var->{revision} = $self->get('revisionDate');
}
$self->session->style->setScript($self->session->url->extras('yui/build/yahoo/yahoo-min.js'),
{type => 'text/javascript'});
$self->session->style->setScript($self->session->url->extras('yui/build/dom/dom-min.js'),

View file

@ -44,6 +44,9 @@ YAHOO.util.Event.addListener(window, "load", function() {
};
var uri = "func=getAttributes";
if(typeof(revision) != 'undefined'){
uri = uri + ';revision=' + revision;
}
var initAttributeHoverHelp = function() {
initHoverHelp('attributes');