Open GoogleCodeExporter opened 8 years ago
A solution that worked was posted in the forum:
<button onclick="window.close();">Close</button>
Or
<button onclick="self.close();">Close</button>
Original comment by i...@taapo.com
on 16 Mar 2014 at 10:14
Using window.close for closing main application windowed is not guaranteed to
work in future phpdesktop versions. We should introduce an official API for
that, a CloseWindow() method on the "phpdesktop" javascript object.
Implementing CloseWindow() is also a part of Issue 26 "Custom window themes
with the use of HTML 5".
Original comment by czarek.t...@gmail.com
on 16 Mar 2014 at 3:42
window.close should keep working for backwards compatibility. A javascript
binding should overwrite the default implementation of window.close.
It should also be possible to close all application windows by introducing
phpdesktop.`ExitApplication()` function.
Original comment by czarek.t...@gmail.com
on 15 Oct 2014 at 1:21
Original comment by czarek.t...@gmail.com
on 21 Oct 2014 at 10:38
Project will move to Github. Find this issue at the new address (soon):
https://github.com/cztomczak/phpdesktop/issues/95
Original comment by czarek.t...@gmail.com
on 24 Aug 2015 at 3:28
Original issue reported on code.google.com by
i...@taapo.com
on 15 Mar 2014 at 3:33