Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d9e5bd29

Von Werner Hahn vor mehr als 6 Jahren hinzugefügt

  • ID d9e5bd29c3da5bf52da4e89eb7b63f243918568e
  • Vorgänger e15fa48c
  • Nachfolger 5b867777

Shopmodul: Bilder hochladen

Unterschiede anzeigen:

js/kivi.shop_part.js
144 144
    $('.ui-dialog-titlebar button.ui-dialog-titlebar-close').prop('disabled', '')
145 145
  };
146 146

  
147
  ns.imageUpload = function(id,type,filetype,upload_title,gl) {
148
    kivi.popup_dialog({ url:     'controller.pl',
149
                        data:    { action: 'File/ajax_upload',
150
                                   file_type:   filetype,
151
                                   object_type: type,
152
                                   object_id:   id,
153
                                   is_global:   gl
154
                                 },
155
                        id:     'files_upload',
156
                        dialog: { title: upload_title, width: 650, height: 240 } });
157
    return true;
158
  }
159

  
160

  
147 161
  ns.setup = function() {
148 162
    kivi.shop_part.massUploadInitialize();
149 163
    kivi.submit_ajax_form('controller.pl?action=ShopPart/mass_upload','[name=shop_parts]');

Auch abrufbar als: Unified diff