From a045b4db823265b6cf5cf274eecad41b90e039fb Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Wed, 30 Jan 2013 18:28:40 -0400 Subject: [PATCH] BUG 10589 No continua el caso a noser que se le diga Next SOLVED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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. --- gulliver/system/class.xmlform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 9b2afc193..24a7c573e 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -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 'label .'\' disabled/>'; - return "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 "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 "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");';