mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
upload file feature
This commit is contained in:
@ -37,7 +37,8 @@ class OrdenTrabajo {
|
|||||||
domElement: '#dropzone-ot-files',
|
domElement: '#dropzone-ot-files',
|
||||||
nameId: "orden_trabajo_id",
|
nameId: "orden_trabajo_id",
|
||||||
getUri: '/produccion/ordentrabajo/get_files',
|
getUri: '/produccion/ordentrabajo/get_files',
|
||||||
postUri: '/produccion/ordentrabajo/upload_files'
|
postUri: '/produccion/ordentrabajo/upload_files',
|
||||||
|
resourcePath : 'orden_trabajo/' + this.modelId
|
||||||
}
|
}
|
||||||
if ($(this.configUploadDropzone.domElement).length > 0) {
|
if ($(this.configUploadDropzone.domElement).length > 0) {
|
||||||
this.fileUploadDropzone = new FileUploadDropzone(this.configUploadDropzone)
|
this.fileUploadDropzone = new FileUploadDropzone(this.configUploadDropzone)
|
||||||
|
|||||||
Reference in New Issue
Block a user