mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01: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
|
||||
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
|
||||
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;
|
||||
if (!_value || _value.length == 0 || _value == null || jQuery.isEmptyObject(_value)) {
|
||||
this.search.val("");
|
||||
|
Loading…
Reference in New Issue
Block a user