mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
33 lines
591 B
JavaScript
33 lines
591 B
JavaScript
(function(){
|
|
|
|
$(document).ready(function(){
|
|
|
|
$('a.dialog').live('click', function(event){
|
|
|
|
var $this = $(this);
|
|
|
|
$.ajax({
|
|
type: "GET",
|
|
url: $this.attr('href'),
|
|
dataType: 'html',
|
|
beforeSend:function(){
|
|
|
|
},
|
|
success: function(data){
|
|
$('#DIALOG').attr('title', $this.attr('title'))
|
|
.empty()
|
|
.append(data)
|
|
.dialog()
|
|
.dialog('open');
|
|
return;
|
|
}
|
|
});
|
|
|
|
return false;
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
}()) |