Created
January 27, 2011 01:59
-
-
Save rvega/797925 to your computer and use it in GitHub Desktop.
Support request for http://getsatisfaction.com/balupton/topics/back_button_triggers_an_ajax_request_thet_should_not_happen?utm_content=topic_link&utm_medium=email&utm_source=reply_notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response: function(){ | |
var data = this.State.Response.data.responseText; | |
if(typeof(data) != 'undefined'){ // TODO: This is a temporary fix, see http://getsatisfaction.com/balupton/topics/back_button_triggers_an_ajax_request_thet_should_not_happen | |
var fb_params = {content: data} | |
$.extend(true,fb_params,ajax_deeplinks.fancybox_options); | |
$.fancybox(fb_params); | |
$('#fancybox-content a.ajax').ajaxify(); | |
} | |
else{ | |
$.fancybox.close(); | |
$.fancybox.hideActivity(); | |
} | |
return true; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment