master
赵鹏 5 years ago
parent 14bb47a897
commit 92bd7b3df8

@ -229,7 +229,16 @@
function fillFaceboxFromAjax(href, klass) { function fillFaceboxFromAjax(href, klass) {
//$.get(href, function(data) { $.facebox.reveal(data, klass) }) //$.get(href, function(data) { $.facebox.reveal(data, klass) })
$.get(href,{xhrFields:{withCredentials: true},crossDomain: true}, function(data) { $.facebox.reveal(data, klass) }) //$.get(href,{xhrFields:{withCredentials: true},crossDomain: true}, function(data) { $.facebox.reveal(data, klass) })
$.ajax({
url:href,
type: 'GET',
xhrFields: {
withCredentials: true
},
crossDomain: true,
success: function(data) { $.facebox.reveal(data, klass) }
});
} }
function skipOverlay() { function skipOverlay() {

Loading…
Cancel
Save