mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 07:45:56 +01:00
Fixed PopupBrowser demo
Fixed the Chromium1BeforePopup event in PopupBrowser Fixed the PopupBrowser.html file to use a different window name for the new popup windows.
This commit is contained in:
parent
8641a64b65
commit
46f8fde8f9
@ -12,7 +12,7 @@
|
||||
<script language="javascript" type="text/javascript">
|
||||
<!--
|
||||
function popitup(url) {
|
||||
newwindow=window.open(url,'name','height=500,width=700');
|
||||
newwindow=window.open(url,'name' + Math.floor(Date.now() / 1000),'height=500,width=700');
|
||||
if (window.focus) {newwindow.focus()}
|
||||
return false;
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ object ChildForm: TChildForm
|
||||
OnTitleChange = Chromium1TitleChange
|
||||
OnTooltip = Chromium1Tooltip
|
||||
OnCursorChange = Chromium1CursorChange
|
||||
OnBeforePopup = Chromium1BeforePopup
|
||||
OnBeforeClose = Chromium1BeforeClose
|
||||
OnGetViewRect = Chromium1GetViewRect
|
||||
OnGetScreenPoint = Chromium1GetScreenPoint
|
||||
|
@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 280,
|
||||
"InternalVersion" : 281,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "90.5.5.0"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user