mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 16:35:02 +02:00
Change Et2Checkbox to behave closer to legacy et2_widget_checkbox and thereby fixing all sorts of errors with it.
Fix vfsSelectUI to be able to select files again with click on the row and only submit selected files. Also change Et2Widget.iterateOver and legacy et2_widget.interateOver to be called with new web-component classes like Et2Checkbox. Also make Et2Widget matching all widgets by default like et2_widget. Remove legacy et2_widget_checkbox code.
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
import {egw, IegwAppLocal} from "../jsapi/egw_global";
|
||||
import {et2_checkType, et2_no_init, et2_validateAttrib} from "./et2_core_common";
|
||||
import {et2_implements_registry} from "./et2_core_interfaces";
|
||||
import {Et2Widget} from "./Et2Widget/Et2Widget";
|
||||
|
||||
export class ClassWithInterfaces
|
||||
{
|
||||
@ -49,6 +50,10 @@ export class ClassWithInterfaces
|
||||
{
|
||||
return this.implements(_class_or_interfacename);
|
||||
}
|
||||
if (_class_or_interfacename === Et2Widget)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return this instanceof _class_or_interfacename;
|
||||
}
|
||||
}
|
||||
@ -273,5 +278,4 @@ export class ClassWithAttributes extends ClassWithInterfaces
|
||||
|
||||
return attributes;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user