PHP Classes

File: template/Asset/tab-lang-save

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Asset/tab-lang-save   Download  
File: template/Asset/tab-lang-save
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 657 bytes
 

Contents

Class file image Download
$("form."+id+"_moduleTplLangForm").each(function(i, v){ $.each($(this).serializeArray(), function(){ formData.append('language['+i+']['+this.name+']', this.value); }); var formFiles = $(this).find("[type='file']"); $.each(formFiles, function(){ formData.append('language['+i+']['+$(this).attr("name")+']', $(this).data("value")); if (typeof $(this)[0].files[0] !== "undefined") formData.append('language['+i+']['+$(this).attr("name")+']', $(this)[0].files[0]); }); });