Skip to content

Commit

Permalink
Merge branch 'rc' of github.com:vanillaforums/Garden into rc
Browse files Browse the repository at this point in the history
  • Loading branch information
markosullivan committed Jun 10, 2010
2 parents 686e86f + fb7663b commit de7f355
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/slice.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ var Gdn_Slice = Class.create({
'padding': '0px 15px',
'opacity': 0
});
$(Overlay).html('<img src="/applications/dashboard/design/images/progress_sm.gif"/>');

var ImgPath = gdn.definition('WebRoot')+"/applications/dashboard/design/images/progress_sm.gif";
$(Overlay).html('<img src="'+ImgPath+'"/>');
this.Slice.append(Overlay);
$(Overlay).fadeTo('fast',0.7);
this.Slice.animate({
Expand All @@ -80,7 +82,7 @@ var Gdn_Slice = Class.create({
PostSlice: function() {
this.PrepareSliceForRequest();

var SliceURL = this.Slice.attr('rel')+'?DeliveryType=VIEW';
var SliceURL = gdn.definition('WebRoot')+this.Slice.attr('rel')+'?DeliveryType=VIEW';
jQuery.ajax({
url: SliceURL,
type: 'POST',
Expand Down

0 comments on commit de7f355

Please sign in to comment.