FixBug.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 11:19:10 +0000 (19:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 11:19:10 +0000 (19:19 +0800)
FixBug.js

index 5bc7d11..6f38e1d 100644 (file)
--- a/FixBug.js
+++ b/FixBug.js
@@ -57,7 +57,7 @@ FixBug=new XObject({
         // block until we return.
         this.el.run();
         
-        print(JSON.serialize(this.get('bug').getValue()));
+        print(JSON.stringify(this.get('bug').getValue()));
         
         //this.success = c.success;
     },
@@ -235,13 +235,13 @@ FixBug=new XObject({
         },
         {
             xtype: Gtk.Button,
-            pack : "add_action_widget,1",
-            label : "OK"
+            pack : "add_action_widget,0",
+            label : "Cancel"
         },
         {
             xtype: Gtk.Button,
-            pack : "add_action_widget,0",
-            label : "Cancel"
+            pack : "add_action_widget,1",
+            label : "OK"
         }
     ]
 });