Sample/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 11:18:11 +0000 (19:18 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 11:18:11 +0000 (19:18 +0800)
Sample/DialogNewComponent.js

index f7af9ff..22f2fec 100644 (file)
@@ -43,7 +43,7 @@ DialogNewComponent=new XObject({
                 }
                
                 if (!isNew) {
-                    file.save();
+                    this.file.save();
                     this.el.hide();
                     return;
                 }