developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 13 years ago
Closed 13 years ago
#333 closed bug (duplicate)
Internet Explorer : submited values of buttons are not <item value="VALUE">
Reported by: | tefnout | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | jelix:forms | Version: | 1.0 beta 3.1 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | ||
Hosting Provider: | Php version: |
Description
On ie, submited values of buttons are their names and not their 'value' attribute. So, jForms.getData('*submitname*') gives different values depending the navigator.
a solution in jFormBase::initFormRequest adding another condition from line 110 to the final else :
}elseif($ctrl->type=='submit' && !array_key_exists($value,$ctrl->datasource->datas)){ $cases=array_flip($ctrl->datasource->datas); $this->_container->datas[$name]=$cases[$value]; }else.....
Change History (1)
comment:1 Changed 13 years ago by laurentj
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
duplicata du ticket #334