Skip to content

Commit

Permalink
34982-edit-list-view (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-eastgate authored Aug 2, 2023
1 parent 4f8c5e8 commit a4bebbc
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageEstateDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
use stdClass;
use function __;
use function add_action;
use function add_screen_option;
use function do_accordion_sections;
use function do_action;
use function do_meta_boxes;
Expand Down Expand Up @@ -284,7 +283,6 @@ protected function generateAccordionBoxesContactPerson(FieldsCollection $pFields
*/
protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderEstateDetailSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug());
$this->addFormModel($pFormModel);
Expand Down
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageEstateListSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
use onOffice\WPlugin\Record\RecordManager;
use stdClass;
use function __;
use function add_screen_option;
use function wp_enqueue_script;
use function wp_localize_script;

Expand Down Expand Up @@ -79,7 +78,6 @@ public function __construct($pageSlug)

protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderDBEstateListSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug(), $this->getListViewId());
$this->addFormModel($pFormModel);
Expand Down
1 change: 0 additions & 1 deletion plugin/Gui/AdminPageEstateUnitSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function __construct($pageSlug)

protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderDBEstateUnitListSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug(), $this->getListViewId());
$this->addFormModel($pFormModel);
Expand Down
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageFormSettingsBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
use onOffice\WPlugin\WP\InstalledLanguageReader;
use stdClass;
use function __;
use function add_screen_option;
use function esc_sql;
use function wp_enqueue_script;

Expand Down Expand Up @@ -420,7 +419,6 @@ private function readCustomLabels(): array

protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$this->_pFormModelBuilder = $this->getContainer()->get(FormModelBuilderDBForm::class);
$this->_pFormModelBuilder->setFormType($this->getType());
$pFormModel = $this->_pFormModelBuilder->generate($this->getPageSlug(), $this->getListViewId());
Expand Down
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageSimilarEstates.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
use stdClass;
use function __;
use function add_action;
use function add_screen_option;
use function do_action;
use function do_meta_boxes;
use function do_settings_sections;
Expand Down Expand Up @@ -193,7 +192,6 @@ protected function generateAccordionBoxes(FieldsCollection $pFieldsCollection)
*/
protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderSimilarEstateSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug());
$this->addFormModel($pFormModel);
Expand Down

0 comments on commit a4bebbc

Please sign in to comment.