IE8 Bug with form submit
This commit is contained in:
parent
aad2aa232a
commit
4375306428
4 changed files with 7 additions and 5 deletions
|
|
@ -147,7 +147,7 @@ case 'dc':
|
|||
|
||||
if ($can_modify==1)
|
||||
{
|
||||
$html.='<form method="get" onsubmit="update_card(this);return false;">';
|
||||
$html.='<form id="form_'.$ctl.'"method="get" onsubmit="update_card(this);return false;">';
|
||||
$html.=dossier::hidden();
|
||||
$html.=HtmlInput::hidden('f_id',$f->id);
|
||||
$html.=HtmlInput::hidden('ctl',$ctl);
|
||||
|
|
|
|||
|
|
@ -214,7 +214,8 @@ function search_ca (p_dossier,p_target,p_source)
|
|||
function search_anc_form(obj)
|
||||
{
|
||||
var qs="op=resultancsearch&ctl=searchanc&";
|
||||
qs+=obj.serialize(false);
|
||||
var name=obj.id;
|
||||
qs+=$(name).serialize(false);
|
||||
waiting_box();
|
||||
var action=new Ajax.Request ( 'ajax_misc.php',
|
||||
{
|
||||
|
|
@ -354,4 +355,4 @@ function filter_anc(obj,queryString)
|
|||
var pa_id=obj.plan_ctl;
|
||||
queryString=queryString+"&pa_id="+pa_id;
|
||||
return queryString;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -634,7 +634,8 @@ function removeCardAttribut(ad_id,gDossier,table_id,row)
|
|||
function update_card(obj)
|
||||
{
|
||||
try {
|
||||
var qs=obj.serialize()+'&op=upc';
|
||||
var name=obj.id;
|
||||
var qs=Form.serialize(name)+'&op=upc';
|
||||
var action=new Ajax.Request ( 'ajax_card.php',
|
||||
{
|
||||
method:'get',
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ require_once('function_javascript.php');
|
|||
echo HtmlInput::title_box("Recherche activité", $ctl);
|
||||
|
||||
//------------- FORM ----------------------------------
|
||||
echo '<FORM METHOD="GET" onsubmit="search_anc_form(this);return false">';
|
||||
echo '<FORM id="anc_search_form" METHOD="GET" onsubmit="search_anc_form(this);return false">';
|
||||
echo '<span>'._('Recherche').':';
|
||||
|
||||
$texte=new IText('plabel');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue