minor fix
This commit is contained in:
parent
b616a81e31
commit
ba8b24ebd6
|
@ -98,7 +98,7 @@ class Eforms extends Dash\Models\Model {
|
|||
$widget = new Zira\Models\Widget();
|
||||
$widget->name = Eform\Models\Eform::WIDGET_CLASS;
|
||||
$widget->module = 'eform';
|
||||
$widget->placeholder = Zira\View::VAR_CONTENT_BOTTOM;
|
||||
$widget->placeholder = Zira\View::VAR_CONTENT;
|
||||
$widget->params = $eform->id;
|
||||
$widget->category_id = null;
|
||||
$widget->sort_order = ++$max_order;
|
||||
|
@ -124,7 +124,7 @@ class Eforms extends Dash\Models\Model {
|
|||
$widget = new Zira\Models\Widget();
|
||||
$widget->name = Eform\Models\Eform::BUTTON_CLASS;
|
||||
$widget->module = 'eform';
|
||||
$widget->placeholder = Zira\View::VAR_CONTENT_BOTTOM;
|
||||
$widget->placeholder = Zira\View::VAR_CONTENT;
|
||||
$widget->params = $eform->id;
|
||||
$widget->category_id = null;
|
||||
$widget->sort_order = ++$max_order;
|
||||
|
|
|
@ -19,7 +19,7 @@ class Button extends Widget {
|
|||
$this->setEditable(true);
|
||||
$this->setDynamic(true);
|
||||
$this->setCaching(false);
|
||||
$this->setPlaceholder(View::VAR_CONTENT_BOTTOM);
|
||||
$this->setPlaceholder(View::VAR_CONTENT);
|
||||
}
|
||||
|
||||
protected function getTitles() {
|
||||
|
|
|
@ -19,7 +19,7 @@ class Eform extends Widget {
|
|||
$this->setEditable(true);
|
||||
$this->setDynamic(true);
|
||||
$this->setCaching(false);
|
||||
$this->setPlaceholder(View::VAR_CONTENT_BOTTOM);
|
||||
$this->setPlaceholder(View::VAR_CONTENT);
|
||||
}
|
||||
|
||||
protected function getTitles() {
|
||||
|
|
Loading…
Reference in a new issue