Cheng Zhao
f0448ba231
Trigger 'window:close' command in the 'beforeunload' event handler.
...
When user wants to close the window, the 'beforeunload' event would be
called, then the closing would be cancelled and the 'window:close'
command would be triggered. In the 'window:close' handler, a confirm
dialog could be showed if there are unsaved contents, and if the window
is really meant to be closed, the window would be tried to be closed
again and this time 'beforeunload' handler wont't prevent it.
2013-05-17 20:17:06 +08:00
..
2013-04-29 10:27:39 -07:00
2013-05-17 18:48:02 +08:00
2013-05-01 17:01:55 -07:00
2013-05-17 19:02:03 +08:00
2013-05-01 16:58:43 -07:00
2013-05-03 18:29:52 -06:00
2013-05-03 18:29:52 -06:00
2013-05-02 12:05:56 -07:00
2013-04-27 07:40:06 -07:00
2013-05-02 13:50:06 -07:00
2013-05-01 16:58:43 -07:00
2013-05-03 18:29:52 -06:00
2013-05-01 17:01:53 -07:00
2013-05-10 13:20:42 -06:00
2013-05-10 13:20:43 -06:00
2013-05-10 13:20:42 -06:00
2013-05-01 07:58:12 -07:00
2013-05-10 13:20:43 -06:00
2013-05-01 17:01:53 -07:00
2013-05-01 17:01:53 -07:00
2013-05-10 13:20:42 -06:00
2013-04-27 07:40:06 -07:00
2013-05-01 17:01:55 -07:00
2013-05-10 19:39:33 -06:00
2013-05-01 17:01:54 -07:00
2013-05-01 17:01:54 -07:00
2013-05-17 19:02:03 +08:00
2012-08-26 16:29:46 -05:00
2013-05-01 17:01:54 -07:00
2013-05-10 12:09:58 -07:00
2013-04-27 07:40:06 -07:00
2013-05-17 18:48:02 +08:00
2013-04-18 13:38:26 -07:00
2013-04-18 13:05:40 -07:00
2013-05-01 16:58:43 -07:00
2013-05-01 16:58:43 -07:00
2013-05-01 16:58:43 -07:00
2013-05-01 17:01:55 -07:00
2013-05-01 17:01:55 -07:00
2013-05-01 17:01:54 -07:00
2013-05-03 18:29:52 -06:00
2013-04-03 12:01:37 -06:00
2013-04-18 14:58:19 -07:00
2013-05-02 12:22:37 -07:00
2013-05-10 13:20:42 -06:00
2013-04-11 02:29:48 -05:00
2013-05-07 08:56:06 -07:00
2013-05-01 17:21:05 -07:00
2013-05-03 18:29:52 -06:00
2013-05-01 16:58:43 -07:00
2013-05-03 18:29:52 -06:00
2013-05-01 16:58:43 -07:00
2013-05-17 18:48:02 +08:00
2013-05-01 16:58:43 -07:00
2013-04-19 10:58:35 -07:00
2013-05-01 17:21:05 -07:00
2013-05-01 16:58:43 -07:00
2013-04-27 07:40:06 -07:00
2013-05-01 16:58:43 -07:00
2013-05-02 13:50:06 -07:00
2013-05-10 13:20:43 -06:00
2013-05-10 13:20:43 -06:00
2013-05-03 17:21:50 -06:00
2013-05-17 20:17:06 +08:00