Skip to content

Commit

Permalink
gallery-2012.10.03-20-02 joeauty gallery-nmpjaxplus
Browse files Browse the repository at this point in the history
  • Loading branch information
YUI Builder committed Oct 3, 2012
1 parent be05c96 commit 9f05b48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gallery-nmpjaxplus/js/nmpjaxplus.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Y.PjaxPlus = Y.Base.create('pjaxplus', Y.Widget, [], {
clickedLink = e.originEvent.target.get('href');
var html5support = this.get('html5support');

if (this.get('startCallbackFunc') && !this.ppCache.retrieve(clickedLink)) {
if (this.get('startCallbackFunc')) {
//Y.log('trigger start callback');
this.get('startCallbackFunc').call(null, {
clickTarget:e.originEvent.target,
Expand Down Expand Up @@ -185,7 +185,7 @@ Y.PjaxPlus = Y.Base.create('pjaxplus', Y.Widget, [], {
},

startAjaxLoad : function(configObj) {
if (this.get('startCallbackFunc') && !this.ppCache.retrieve(configObj.url)) {
if (this.get('startCallbackFunc')) {
//Y.log('trigger start callback - AJAX');
this.get('startCallbackFunc').call(null, configObj, this);
}
Expand Down

0 comments on commit 9f05b48

Please sign in to comment.