Browse Source

[FIX] include values from a dropzone element

experimental
Georgi Hristov 2 years ago
parent
commit
a8daa9fc1f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/Utils/LeightboxPrompt/LeightboxPrompt_0.php

+ 1
- 1
modules/Utils/LeightboxPrompt/LeightboxPrompt_0.php View File

@@ -219,7 +219,7 @@ class Utils_LeightboxPrompt extends Module {
foreach ($this->options as $option_key=>$option) {
if ($option['form']!==null && $option['form']->validate()) {
$ret['option'] = $option_key;
$vals = $option['form']->exportValues();
$vals = array_merge($option['form']->exportValues(), Utils_FileUpload_Dropzone::export_values($option['form']));
if (is_array($this->params_list)) foreach ($this->params_list as $p) {
$ret['params'][$p] = $vals[$this->group.'_'.$p];
unset($vals[$this->group.'_'.$p]);


Loading…
Cancel
Save