fix: [genericElements] Fixed Usage of bootstrap-helper's overlay
parent
a4cf1a8036
commit
5782e29642
|
@ -30,5 +30,6 @@
|
||||||
$dataGroup['requirement'] = $data['requirement'];
|
$dataGroup['requirement'] = $data['requirement'];
|
||||||
}
|
}
|
||||||
echo $this->element('/genericElements/ListTopBar/group_simple', [
|
echo $this->element('/genericElements/ListTopBar/group_simple', [
|
||||||
'data' => $dataGroup
|
'data' => $dataGroup,
|
||||||
|
'tableRandomValue' => $tableRandomValue
|
||||||
]);
|
]);
|
|
@ -242,7 +242,7 @@ class AJAXApi {
|
||||||
|
|
||||||
toggleLoading(loading) {
|
toggleLoading(loading) {
|
||||||
if (this.loadingOverlay === false) {
|
if (this.loadingOverlay === false) {
|
||||||
this.loadingOverlay = new OverlayFactory({node: this.options.statusNode});
|
this.loadingOverlay = new OverlayFactory(this.options.statusNode);
|
||||||
}
|
}
|
||||||
if (loading) {
|
if (loading) {
|
||||||
this.loadingOverlay.show()
|
this.loadingOverlay.show()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
/** Class containing common UI functionalities */
|
||||||
class UIFactory {
|
class UIFactory {
|
||||||
/**
|
/**
|
||||||
* Create and display a toast
|
* Create and display a toast
|
||||||
|
|
Loading…
Reference in New Issue