|
@@ -414,7 +414,7 @@ end;
|
|
|
|
|
|
function TToastManager.BootstrapHide(Event: TJSEvent): Boolean;
|
|
function TToastManager.BootstrapHide(Event: TJSEvent): Boolean;
|
|
begin
|
|
begin
|
|
-
|
|
|
|
|
|
+ Result:=False;
|
|
end;
|
|
end;
|
|
|
|
|
|
function TToastManager.DoRenderHTML(aParent, aElement: TJSHTMLElement): TJSHTMLElement;
|
|
function TToastManager.DoRenderHTML(aParent, aElement: TJSHTMLElement): TJSHTMLElement;
|
|
@@ -632,6 +632,7 @@ end;
|
|
function TSimpleToastWidget.BootstrapHide(aEvent: TJSEvent) : Boolean;
|
|
function TSimpleToastWidget.BootstrapHide(aEvent: TJSEvent) : Boolean;
|
|
|
|
|
|
begin
|
|
begin
|
|
|
|
+ Result:=False;
|
|
FShowing:=False;
|
|
FShowing:=False;
|
|
// Writeln('In bootstraphide callback ', assigned(onhide));
|
|
// Writeln('In bootstraphide callback ', assigned(onhide));
|
|
If Assigned(OnHide) then
|
|
If Assigned(OnHide) then
|
|
@@ -656,9 +657,6 @@ end;
|
|
|
|
|
|
function TSimpleToastWidget.GetTemplateHTML: String;
|
|
function TSimpleToastWidget.GetTemplateHTML: String;
|
|
|
|
|
|
-Var
|
|
|
|
- Head : String;
|
|
|
|
-
|
|
|
|
begin
|
|
begin
|
|
Result:='<div class="toast" aria-live="assertive" aria atomic="true" style="min-width: '+IntToStr(MinWidth)+'px;">';
|
|
Result:='<div class="toast" aria-live="assertive" aria atomic="true" style="min-width: '+IntToStr(MinWidth)+'px;">';
|
|
Result:=Result+HeaderHTML;
|
|
Result:=Result+HeaderHTML;
|