mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
missing js files for 21.1 from "implement some missing features from old eTemplate"
This commit is contained in:
parent
0463b796ce
commit
101728414d
@ -366,7 +366,7 @@ var et2_grid = /** @class */ (function (_super) {
|
|||||||
}
|
}
|
||||||
// Apply widget's class to td, for backward compatability
|
// Apply widget's class to td, for backward compatability
|
||||||
if (node.getAttribute("class")) {
|
if (node.getAttribute("class")) {
|
||||||
cell.class += (cell.class ? " " : "") + node.getAttribute("class");
|
cell.class += (cell.class ? " " : "") + this.getArrayMgr("content").expandName(node.getAttribute("class"));
|
||||||
}
|
}
|
||||||
// Create the element
|
// Create the element
|
||||||
if (!cell.disabled || cell.disabled && typeof cell.disabled === 'string') {
|
if (!cell.disabled || cell.disabled && typeof cell.disabled === 'string') {
|
||||||
|
@ -783,6 +783,12 @@ var et2_link_entry = /** @class */ (function (_super) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// display a search query, not a selected entry
|
||||||
|
else if (_value !== null && typeof _value === 'object' && typeof _value.query === 'string') {
|
||||||
|
this.options.value = { app: _value.app || this.options.only_app, id: null };
|
||||||
|
this.search.val(_value.query);
|
||||||
|
return;
|
||||||
|
}
|
||||||
this._oldValue = this.options.value;
|
this._oldValue = this.options.value;
|
||||||
if (!_value || _value.length == 0 || _value == null || jQuery.isEmptyObject(_value)) {
|
if (!_value || _value.length == 0 || _value == null || jQuery.isEmptyObject(_value)) {
|
||||||
this.search.val("");
|
this.search.val("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user