Sample/About.js
authorAlan Knowles <alan@akkbhome.com>
Wed, 26 May 2010 15:53:27 +0000 (23:53 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 26 May 2010 15:53:27 +0000 (23:53 +0800)
Sample/About.js

index a156dd7..99ce64f 100644 (file)
@@ -15,7 +15,16 @@ About=new XObject({
     copyright : "LGPL",
     license : "LGPL",
     program_name : "app.Builder.js",
-    modal : true
+    modal : true,
+    listeners : {
+        "response":function (self, response_id) {
+            this.el.hide();
+        },
+        "delete_event":function (self, event) {
+            this.el.hide();
+            return true;
+        }
+    }
 });
 About.init();
 XObject.cache['/About'] = About;