minor fix

This commit is contained in:
Dro1d.Ru 2018-09-26 21:51:22 +05:00
parent b616a81e31
commit ba8b24ebd6
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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() {

View file

@ -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() {