mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Fix #295
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
|
|
||||||
|
|
||||||
$('#DIALOG').attr('title', $this.attr('title'))
|
$('#DIALOG').dialog('destroy').attr('title', $this.attr('title'))
|
||||||
.empty().addClass('loading')
|
.empty().addClass('loading')
|
||||||
.dialog({
|
.dialog({
|
||||||
buttons:{},
|
buttons:{},
|
||||||
|
@@ -1014,7 +1014,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
buttons[language.fermer] = function() {
|
buttons[language.fermer] = function() {
|
||||||
$('#DIALOG').dialog('close');
|
$('#DIALOG').empty().dialog('destroy');
|
||||||
};
|
};
|
||||||
|
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
@@ -1029,7 +1029,7 @@ $(document).ready(function(){
|
|||||||
success : function(data){
|
success : function(data){
|
||||||
if(data.texte !== false && data.titre !== false)
|
if(data.texte !== false && data.titre !== false)
|
||||||
{
|
{
|
||||||
$("#DIALOG").attr('title',data.titre)
|
$("#DIALOG").dialog('destroy').attr('title',data.titre)
|
||||||
.empty()
|
.empty()
|
||||||
.append(data.texte)
|
.append(data.texte)
|
||||||
.dialog({
|
.dialog({
|
||||||
@@ -1789,7 +1789,7 @@ function deleteThis(lst)
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
$("#DIALOG").attr('title',language.deleteTitle)
|
$("#DIALOG").dialog('destroy').attr('title',language.deleteTitle)
|
||||||
.empty()
|
.empty()
|
||||||
.append(texte)
|
.append(texte)
|
||||||
.dialog({
|
.dialog({
|
||||||
@@ -1863,7 +1863,7 @@ function chgStatusThis(url)
|
|||||||
|
|
||||||
function pushThis(sstt_id, lst)
|
function pushThis(sstt_id, lst)
|
||||||
{
|
{
|
||||||
$('#DIALOG').attr('title', 'Push')
|
$('#DIALOG').dialog('destroy').attr('title', 'Push')
|
||||||
.empty().addClass('loading')
|
.empty().addClass('loading')
|
||||||
.dialog({
|
.dialog({
|
||||||
resizable:false,
|
resizable:false,
|
||||||
@@ -1892,7 +1892,7 @@ function pushThis(sstt_id, lst)
|
|||||||
|
|
||||||
function feedbackThis(sstt_id, lst)
|
function feedbackThis(sstt_id, lst)
|
||||||
{
|
{
|
||||||
$('#DIALOG').attr('title', 'Feedback')
|
$('#DIALOG').dialog('destroy').attr('title', 'Feedback')
|
||||||
.empty().addClass('loading')
|
.empty().addClass('loading')
|
||||||
.dialog({
|
.dialog({
|
||||||
resizable:false,
|
resizable:false,
|
||||||
@@ -2490,7 +2490,7 @@ function printThis(value)
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
$('#DIALOG').attr('title', 'Print')
|
$('#DIALOG').dialog('destroy').attr('title', 'Print')
|
||||||
.empty().addClass('loading')
|
.empty().addClass('loading')
|
||||||
.dialog({
|
.dialog({
|
||||||
resizable:false,
|
resizable:false,
|
||||||
@@ -2779,7 +2779,7 @@ function doDelete(lst)
|
|||||||
|
|
||||||
function deleteBasket(item)
|
function deleteBasket(item)
|
||||||
{
|
{
|
||||||
$('#DIALOG').dialog("close");
|
$('#DIALOG').dialog("destroy");
|
||||||
k = $(item).attr('id').split('_').slice(1,2).pop(); // id de chutier
|
k = $(item).attr('id').split('_').slice(1,2).pop(); // id de chutier
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
|
Reference in New Issue
Block a user