3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">Ext.air.NativeWindowManager.getTaskWindow = function(taskId){
\r
9 var win, winId = 'task' + taskId;
\r
10 if(win = this.get(winId)) {
\r
11 win.instance.orderToFront();
\r
13 win = new Ext.air.NativeWindow({
\r
15 file: 'task.html?taskId=' + taskId,
\r
23 Ext.air.NativeWindowManager.getReminderWindow = function(taskId){
\r
24 var win, winId = 'reminder' + taskId;
\r
25 if(win = this.get(winId)) {
\r
26 win.instance.orderToFront();
\r
28 win = new Ext.air.NativeWindow({
\r
30 file: 'reminder.html?taskId=' + taskId,
\r
40 Ext.air.NativeWindowManager.getAboutWindow = function(){
\r
41 var win, winId = 'about';
\r
42 if(win = this.get(winId)) {
\r
43 win.instance.orderToFront();
\r
45 win = new Ext.air.NativeWindow({
\r
57 Ext.air.NativeWindowManager.getPrefWindow = function(){
\r
58 var win, winId = 'prefs';
\r
59 if(win = this.get(winId)) {
\r
60 win.instance.orderToFront();
\r
62 win = new Ext.air.NativeWindow({
\r
64 file: 'preferences.html',
\r