Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c60cb1f0

Von Martin Helmling martin.helmling@octosoft.eu vor mehr als 6 Jahren hinzugefügt

  • ID c60cb1f08f7aab16e3a1779a59d5fac8b7294734
  • Vorgänger 0084e295
  • Nachfolger 48baa5eb

Dateimanagement: Stammdaten: DOM-Elemente bei multiples Tab-Aufrufen nicht duplizieren(2): weitere Stelle

siehe 69e526ee5

Unterschiede anzeigen:

js/kivi.File.js
29 29
                               , close: function() {
30 30
                                 $dlg.remove().appendTo('#' + parent_id);
31 31
                               }
32
                              } });
32
                              }
33
    });
33 34
    return true;
34 35
  }
35 36

  
......
59 60
    $('#next_ids_id').val(next_ids);
60 61
    $('#sessionfile_id').val(sessionfile);
61 62
    $('#rename_extra_text').html(kivi.t8("The uploaded filename still exists.<br>If you not modify the name this is a new version of the file"));
63
    var $dlg       = $('#rename_dialog');
64
    var parent_id  = $dlg.parent("div.ui-tabs-panel").attr('id');
62 65
    kivi.popup_dialog(
63 66
      {
64 67
        id:     'rename_dialog',
65 68
        dialog: { title: kivi.t8("Rename attachment")
66 69
                  , width:  400
67 70
                  , height: 200
68
                  , modal:  true }
69
      });
71
                  , modal:  true
72
                  , close: function() {
73
                    $dlg.remove().appendTo('#' + parent_id);
74
                  } }
75
      }
76
    );
70 77
  }
71 78

  
72 79
  ns.upload = function(id,type,filetype,upload_title,gl) {

Auch abrufbar als: Unified diff