mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Updating AjaxHelper::submit() with FormHelper reference
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4593 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3b0a6bf5d4
commit
272efd4c07
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ class AjaxHelper extends AppHelper {
|
|||
}
|
||||
|
||||
$htmlOptions['onclick'] = "return false;";
|
||||
return $this->Html->submit($title, $htmlOptions)
|
||||
return $this->Form->submit($title, $htmlOptions)
|
||||
. $this->Javascript->event('"' . $htmlOptions['id'] . '"', 'click', $this->remoteFunction($options));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue