|
|
|
@ -229,7 +229,16 @@
|
|
|
|
|
|
|
|
|
|
function fillFaceboxFromAjax(href, 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() {
|
|
|
|
|