Pman.Dialog.XtupleUploadHSBC.js
{
"listeners": {
"render": "function (_self)\n{\n _this.bankSel = _self;\n}",
- "edit": "function (combo, record)\n{\n\n\n}"
+ "edit": "function (combo, record)\n{\n var s = _this.form.findField('city_id').getValue() * 1;\n if(s < 1){\n Roo.MessageBox.alert('Error','Please select a city');\n return;\n }\n \n Pman.Dialog.SocialCities.show({id : s}, function(res){\n _this.form.findField('city_id').setFromData(res);\n });\n \n}"
},
"allowBlank": false,
"displayField": "bankaccnt_name",
},
edit : function (combo, record)
{
-
-
+ var s = _this.form.findField('city_id').getValue() * 1;
+ if(s < 1){
+ Roo.MessageBox.alert('Error','Please select a city');
+ return;
+ }
+
+ Pman.Dialog.SocialCities.show({id : s}, function(res){
+ _this.form.findField('city_id').setFromData(res);
+ });
+
}
},
allowBlank : false,