Browse Source

[FEATURE] separate method for disabling add button

experimental
Georgi Hristov 3 years ago
parent
commit
70049b1b22
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/Utils/RecordBrowser/RecordBrowser_0.php

+ 1
- 0
modules/Utils/RecordBrowser/RecordBrowser_0.php View File

@@ -212,6 +212,7 @@ class Utils_RecordBrowser extends Module {
public function disable_export() {$this->disabled['export'] = true;}
public function disable_actions($arg=true) {$this->disabled['actions'] = $arg;}
public function disable_pagination($arg=true) {$this->disabled['pagination'] = $arg;}
public function disable_add_button() {$this->add_button = false;}

public function set_button($arg, $arg2=''){
$this->add_button = $arg;


Loading…
Cancel
Save