Skip to content

Commit

Permalink
No cache on overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
ksokhan committed Mar 29, 2012
1 parent 4a47cbd commit b6e7ea4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/students.view.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ window.addEvent ('domready', function () {
if (this.hasClass ('poster') && this.retrieve ('clickable', false) == false) return;

var trigger = this;
var time = new Date().getTime();
new Request.HTML ({
'url': trigger.get ('data-url'),
'url': trigger.get ('data-url') + '?' + time,
'noCache': true,
'onSuccess': function (responseTree, responseElements, responseHTML, responseJavaScript) {
new ModalWindow ({
'id': 'overlay-window',
Expand Down

0 comments on commit b6e7ea4

Please sign in to comment.