Etemplate: Fix tree default icons path was still in phpgwapi

This commit is contained in:
nathangray 2021-02-01 16:40:10 -07:00
parent 1bbe3aa21b
commit 6ab0ad934b
2 changed files with 5 additions and 3 deletions

View File

@ -25,6 +25,7 @@ var __extends = (this && this.__extends) || (function () {
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.et2_tree = void 0;
/*egw:uses
et2_core_inputWidget;
/api/js/egw_action/egw_dragdrop_dhtmlx_tree.js;
@ -805,7 +806,7 @@ var et2_tree = /** @class */ (function (_super) {
"image_path": {
"name": "Image directory",
"type": "string",
"default": egw().webserverUrl + "/phpgwapi/templates/default/images/dhtmlxtree/",
"default": egw().webserverUrl + "/api/templates/default/images/dhtmlxtree/",
"description": "Directory for tree structure images, set on server-side to 'dhtmlx' subdir of templates image-directory"
},
"value": {
@ -845,5 +846,6 @@ var et2_tree = /** @class */ (function (_super) {
};
return et2_tree;
}(et2_core_inputWidget_1.et2_inputWidget));
exports.et2_tree = et2_tree;
et2_core_widget_1.et2_register_widget(et2_tree, ["tree", "tree-cat"]);
//# sourceMappingURL=et2_widget_tree.js.map

View File

@ -32,7 +32,7 @@ import {ClassWithAttributes} from "./et2_core_inheritance";
*
* @augments et2_inputWidget
*/
class et2_tree extends et2_inputWidget
export class et2_tree extends et2_inputWidget
{
static readonly _attributes : any = {
"multiple": {
@ -78,7 +78,7 @@ class et2_tree extends et2_inputWidget
"image_path": {
"name": "Image directory",
"type": "string",
"default": egw().webserverUrl + "/phpgwapi/templates/default/images/dhtmlxtree/",
"default": egw().webserverUrl + "/api/templates/default/images/dhtmlxtree/",
"description": "Directory for tree structure images, set on server-side to 'dhtmlx' subdir of templates image-directory"
},
"value": {