Test ManageTable ; fix parseXML function
This commit is contained in:
parent
ca1098946e
commit
daa75d80ce
1 changed files with 2 additions and 2 deletions
|
|
@ -182,12 +182,12 @@ var ManageTable = function (p_table_name)
|
|||
this.delete = function (p_id, p_ctl_row) {
|
||||
this.param['p_id'] = p_id;
|
||||
this.param['action'] = 'delete';
|
||||
|
||||
var here=this;
|
||||
new Ajax.Request(this.callback, {
|
||||
parameters: this.parm,
|
||||
method: "get",
|
||||
onSuccess: function (req) {
|
||||
this.parseXML(req);
|
||||
here.parseXML(req);
|
||||
if (answer['status'] == 'OK') {
|
||||
$(answer['ctl']).hide();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue