BUG 10589 No continua el caso a noser que se le diga Next SOLVED
- Cuando se hace correr un caso, se llenan los datos correspondientes y al darle click en el boton, enviar, guardar o segun este diseñado el formualrio este se queda ahi.... si queremos continuar debemos darle CLcik en Next Step para continuar. - Adjustment submit button to Chrome & iExplorer browsers.
This commit is contained in:
@@ -3241,12 +3241,12 @@ class XmlForm_Field_Submit extends XmlForm_Field
|
||||
{
|
||||
$onclick = G::replaceDataField( $this->onclick, $owner->values );
|
||||
if ($onclick != '') {
|
||||
$onclick = "this.disabled=true;" . $onclick;
|
||||
$onclick = $onclick . "this.disabled=true;this.form.submit();";
|
||||
}
|
||||
if ($this->mode === 'edit') {
|
||||
// if ($this->readOnly)
|
||||
// return '<input id="form['.$this->name.']" name="form['.$this->name.']" type=\'submit\' value=\''. $this->label .'\' disabled/>';
|
||||
return "<input style=\"{$this->style}\" class='module_app_button___gray {$this->className}' id=\"form[{$this->name}]\" name=\"form[{$this->name}]\" type='submit' value=\"{$this->label}\" " . (($this->onclick) ? 'onclick="' . htmlentities( $onclick, ENT_COMPAT, 'utf-8' ) . '"' : 'onclick="this.disabled=true;");\'') . " />";
|
||||
return "<input style=\"{$this->style}\" class='module_app_button___gray {$this->className}' id=\"form[{$this->name}]\" name=\"form[{$this->name}]\" type='submit' value=\"{$this->label}\" " . (($this->onclick) ? 'onclick="' . htmlentities( $onclick, ENT_COMPAT, 'utf-8' ) . '"' : 'onclick="this.disabled=true;this.form.submit();"') . " />";
|
||||
} elseif ($this->mode === 'view') {
|
||||
//return "<input style=\"{$this->style};display:none\" disabled='disabled' class='module_app_button___gray module_app_buttonDisabled___gray {$this->className}' id=\"form[{$this->name}]\" name=\"form[{$this->name}]\" type='submit' value=\"{$this->label}\" " . (($this->onclick) ? 'onclick="' . htmlentities ( $onclick, ENT_COMPAT, 'utf-8' ) . '"' : '') . " />";
|
||||
//$sLinkNextStep = 'window.open("' . $owner->fields['__DYNAFORM_OPTIONS']->xmlMenu->values['NEXT_STEP'] . '", "_self");';
|
||||
|
||||
Reference in New Issue
Block a user