diff --git a/api/js/jsapi/egw_app.ts b/api/js/jsapi/egw_app.ts index a7282ec508..c275486f2b 100644 --- a/api/js/jsapi/egw_app.ts +++ b/api/js/jsapi/egw_app.ts @@ -26,7 +26,6 @@ import {Et2MergeDialog} from "../etemplate/Et2Dialog/Et2MergeDialog"; import {EgwActionObject} from "../egw_action/EgwActionObject"; import type {Et2Details} from "../etemplate/Layout/Et2Details/Et2Details"; import {Et2Checkbox} from "../etemplate/Et2Checkbox/Et2Checkbox"; -import {AcSelect} from "../../../achelper/js/AcSelect/AcSelect"; /** * Type for push-message @@ -209,20 +208,6 @@ export abstract class EgwApp } } - changeButton() - { - const acSelect: AcSelect = window.document.querySelector("ac-select") - acSelect.disableLinkSearch = !acSelect.disableLinkSearch - acSelect.requestUpdate() - console.log("disableLinkSearch" + acSelect.disableLinkSearch) - } - - doSomething(thing?:any) - { - console.log("doSomething\n"+thing); - return true; - } - /** * This function is called when the etemplate2 object is loaded * and ready. If you must store a reference to the et2 object, diff --git a/api/src/Etemplate/Widget/Link.php b/api/src/Etemplate/Widget/Link.php index 5a0ce75fc0..8321c3e76e 100644 --- a/api/src/Etemplate/Widget/Link.php +++ b/api/src/Etemplate/Widget/Link.php @@ -100,25 +100,6 @@ class Link extends Etemplate\Widget } } - /** - * return test Link entries - */ - public static function ajax_test_link_search($app, $type, $pattern, $options = array()) - { - - $response = Api\Json\Response::get(); - // convert associative array to a real array with value attribute, to preserve the order of numeric keys - $result = [ - 0 => ["label" => "name0", "value" => 0], - 1=> ["label" => "name1", "value" => 1], - 2=> ["label" => "name2", "value" => 2], - 3=> ["label" => "name3", "value" => 3], - 4=> ["label" => "name4", "value" => 4], - ]; - $response->data($result); - - } - /** * Find links that match the given parameters */ diff --git a/api/src/Link.php b/api/src/Link.php index 3e0dac2649..26e3313c81 100644 --- a/api/src/Link.php +++ b/api/src/Link.php @@ -313,7 +313,7 @@ class Link extends Link\Storage 'list','list_popup', 'search', 'name','icon','query', - 'mime','entry','entries','context_menu' + 'mime','entry','entries' ))); } }