chg: [genericElement:form] More flexible variable check
parent
543603339b
commit
d76aa04ad7
|
@ -83,7 +83,7 @@
|
|||
$submitButtonData['ajaxSubmit'] = $ajaxSubmit;
|
||||
}
|
||||
$ajaxFlashMessage = '';
|
||||
if ($ajax) {
|
||||
if (!empty($ajax)) {
|
||||
$ajaxFlashMessage = sprintf(
|
||||
'<div id="flashContainer"><div id="main-view-container">%s</div></div>',
|
||||
$this->Flash->render()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
if ($ajax) {
|
||||
if (!empty($ajax)) {
|
||||
echo sprintf(
|
||||
'%s',
|
||||
sprintf(
|
||||
|
|
Loading…
Reference in New Issue