Skip to content

Commit

Permalink
Import class in view base
Browse files Browse the repository at this point in the history
  • Loading branch information
dasistwas committed Sep 5, 2024
1 parent 6045d1b commit 66447a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/view/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use datalynx_entries;
use datalynx_filter;
use datalynxfield__rating;
use datalynxfield__status;
use datalynxview_entries_form;
use datalynxview_patterns;
use HTML_QuickForm;
Expand Down Expand Up @@ -1576,7 +1577,7 @@ public function process_entries_data() {
} else {
$this->_editentries = 0;
}
$this->_returntoentriesform = false;
$this->_returntoentriesform = true;
return $processed;
}
} else {
Expand Down
1 change: 1 addition & 0 deletions view/tabular/view_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public function display(array $options = []): string {
global $PAGE;
$PAGE->requires->js_init_call('M.datalynxview_tabular.init', array(), false,
$this->get_js_module());
return '';
}

private function get_js_module() {
Expand Down

0 comments on commit 66447a8

Please sign in to comment.