mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Preset the object creation form with values (scalars or lists) by the mean of GET arguments. E.g. .../UI.php&operation=new&class=Team&default[org_id]=161&default[member_list][-1234][id]=&default[member_list][-1234][role]=manager
SVN:trunk[1340]
This commit is contained in:
@@ -153,7 +153,7 @@ function CheckFields(sFormId, bDisplayAlert)
|
||||
// The two 'fields' below will be updated when the 'validate' event is processed
|
||||
oFormErrors['err_'+sFormId] = 0; // Number of errors encountered when validating the form
|
||||
oFormErrors['input_'+sFormId] = null; // First 'input' with an error, to set the focus to it
|
||||
$('#'+sFormId+' :input[type!=hidden]').each( function()
|
||||
$('#'+sFormId+' :input').each( function()
|
||||
{
|
||||
validateEventResult = $(this).trigger('validate', sFormId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user