Skip to content

Commit

Permalink
added check for BUI in the Chromium engine check
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Wald committed Jul 9, 2018
1 parent 2ebbd98 commit e25e9ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.buildpath
/.project
/.metadata/resourcesModel.json
/.metadata/
2 changes: 1 addition & 1 deletion BBjGridExWidget.bbj
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class public BBjGridExWidget extends BBjWidget
html$="<html><body><div id='eventTransporterDiv' onClick='gw_postEvent(event);'></div><div id=""grid"" style=""height: 100%"" class=""ag-theme-balham""></div></body></html>"
htmlview! = #getCanvas().addHtmlView(101,0,0,#getCanvas().getWidth(),#getCanvas().getHeight(),"")

if (htmlview!.getClientType() <> "Chromium")
if (htmlview!.getClientType() <> "Chromium" AND INFO(3,6)<>"5")
htmlview!.setText("<html><center>Error: Need the Chromium Engine in BBj 18.10 or later. Please check your BBj SAM coverage!</center></html>")
else
htmlview!.setCallback(BBjAPI.ON_PAGE_LOADED,#this!,"onLoad")
Expand Down

0 comments on commit e25e9ac

Please sign in to comment.