From 400c9e70e1d4242228f7704dd5a4878940d4a69a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 24 May 2010 18:30:36 +0800 Subject: [PATCH] Sample/EditProject.js --- Sample/EditProject.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sample/EditProject.js b/Sample/EditProject.js index 7524b9175..7d2346c1a 100644 --- a/Sample/EditProject.js +++ b/Sample/EditProject.js @@ -24,9 +24,10 @@ EditProject=new XObject({ this.init(); } var _this = this; - [ 'xtype' , 'name' ].forEach(function(k) { + [ 'xtype' ].forEach(function(k) { _this.get(k).setValue(typeof(c[k]) == 'undefined' ? '' : c[k]); }); + // shouild set path.. this.el.show_all(); this.success = c.success; -- 2.39.2